eventbus_grpc 0.48.8
eventbus_grpc: ^0.48.8 copied to clipboard
Event bus over gRPC for Dart and Flutter: generated grpcdc.events.v1 publish/subscribe clients speaking gRPC over WebRTC DataChannels, via the grpc_dc runtime.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add eventbus_grpcWith Flutter:
$ flutter pub add eventbus_grpcThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
eventbus_grpc: ^0.48.8Alternatively, 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:eventbus_grpc/eventbus_grpc.dart';