proto_annotations 4.0.0 copy "proto_annotations: ^4.0.0" to clipboard
proto_annotations: ^4.0.0 copied to clipboard

Annotations to mark and configure business model classes for code generation of .proto and Dart mapper classes

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add proto_annotations

With Flutter:

 $ flutter pub add proto_annotations

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

dependencies:
  proto_annotations: ^4.0.0

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:proto_annotations/proto_annotations.dart';
6
likes
150
points
9.71k
downloads

Publisher

verified publishersquarealfa.com

Weekly Downloads

Annotations to mark and configure business model classes for code generation of .proto and Dart mapper classes

Homepage
Repository (GitLab)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

decimal, fixnum, grpc, json_annotation, rational

More

Packages that depend on proto_annotations