gRPC, the modern, lightweight communication protocol from Google. It’s a high-performance, open-source universal remote procedure call (RPC) framework that works across a dozen languages running in any OS.
Install Protocol Buffers v3
- Download protoc compiler from Github for your OS (
- Unzip the resource and add its directory into environment PATH, for example in
- Next, install the protoc plugin for Dart
pub global activate protoc_plugin
- Add protocol compiler to your PATH
- Try to generate stubs from this repository https://github.com/grpc/grpc-dart/tree/master/example/googleapis