Have dart installed.
Activate protoc to generate stub files.
pub global activate protoc_pluginTo 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 getStart the server
dart bin/server.dartRun client with args
dart bin/client.dart {1|2|3|4|5|6}Scenarios can be found in the code here