dart_proto 0.1.3 copy "dart_proto: ^0.1.3" to clipboard
dart_proto: ^0.1.3 copied to clipboard

Dynamic Dart/Flutter protobuf client with generate CLI, HTTP/Connect/gRPC transports, interceptors, and typed errors.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dart_proto

Use it

The package has the following executables:

$ dart_proto

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_proto

With Flutter:

 $ flutter pub add dart_proto

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_proto: ^0.1.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_proto/dart_proto.dart';
0
likes
140
points
125
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dynamic Dart/Flutter protobuf client with generate CLI, HTTP/Connect/gRPC transports, interceptors, and typed errors.

Repository (GitHub)
View/report issues
Contributing

Topics

#protobuf #grpc #flutter #dart

License

MIT (license)

Dependencies

args, http, meta, path, shelf, shelf_router, watcher

More

Packages that depend on dart_proto