m10_sdk 0.34.0 copy "m10_sdk: ^0.34.0" to clipboard
m10_sdk: ^0.34.0 copied to clipboard

This package allows Flutter and Dart applications to interact with the M10 platform.

m10_sdk #

Generate protobuf code #

Make sure protoc_plugin version is 20.0.0 or later. Run the following to upgrade:

pub global activate protoc_plugin

Add .pub-cache/bin in your home dir to your PATH.

Ensure protobuf-compiler is installed:

# Linux
sudo apt-get update && sudo apt-get install protobuf-compiler

# Mac
brew install protobuf
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/sdk/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/sdk/**/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/directory/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/firehose/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/google/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/google/protobuf/*.proto

How to run the tests #

pub run test ./test/all_test.dart
0
likes
140
pub points
1%
popularity

Publisher

verified publisherm10.io

This package allows Flutter and Dart applications to interact with the M10 platform.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, convert, cryptography, dio, equatable, fixnum, grpc, path, protobuf, recase, uuid, xid

More

Packages that depend on m10_sdk