Have dart installed.
Activate protoc
to generate stub files.
pub global activate protoc_plugin
To generate stubs with protoc:
protoc --dart_out=grpc:lib/src/generated -Iprotos protos/todo.proto
Follow the prerequisites for dart on grpc.io
First get the packages
pub get
Start the server
dart bin/server.dart
Run client with args
dart bin/client.dart {1|2|3|4|5|6}
Scenarios can be found in the code here