I want to send the protobuf file to server but I don't know how to make a protobuf file, and the way to send it.
Asked
Active
Viewed 440 times
-5
-
Sorry, I mean the protobuf object. How can I make the protobuf object from flutter. Thanks – Hai Pham Sep 25 '18 at 04:44
1 Answers
0
Try the protobuf package https://pub.dartlang.org/packages/protoc_plugin more instructions found on the same page
dependencies:
protoc_plugin: ^0.10.2
import 'package:protobuf/protobuf.dart';

F-1
- 2,887
- 20
- 28