How to use dart-protobuf
问题 I'm considering using dart-protobuf instead of JSON in one of my projects. The problem is that the library does not provide any example of how to use it, and the tests don't really help either. I'm also a bit confused on how the parsing of .proto files would work. So I'm looking for a simple example of how to use this library in dart. 回答1: I'm not too familiar with dart-protobuf, but it looks like you have to use the protobuf compiler and the dart-protoc-plugin project to generate your Dart