Code generator for gRPC Client from gRPC Relfection.
Note: Requires Dart 2.17 or above.
Get Started
Add grpcgen
package in your dev_dependencies
:
dev_dependencies:
grpcgen: any
Note: This package should not be added to
dependencies
.
In order to generate gRPC Client code from server reflection run this command:
dart run grpcgen https://example-domain.com
The generated files can be found in lib/grpc/generated/
path.