Use shared consts for bool.fromEnvironment expressions (#772)

This improves the readability of the generated code (see #771 for context).

- use shared consts to reduce the number of repeated bool.fromEnvironment()
  expressions (all the bool.fromEnvironment() expressions are gathered up
  while generated the file and written as consts at the end of the file)

- turn on a few additional lints

- update the changelog
39 files changed
tree: 4f15b1b1cbd9210e1f782a4072acee80f2757f2d
  1. .github/
  2. api_benchmark/
  3. benchmarks/
  4. protobuf/
  5. protoc_plugin/
  6. tool/
  7. .gitignore
  8. AUTHORS
  9. LICENSE
  10. mono_repo.yaml
  11. README.md
README.md

CI status

Protobuf support for Dart

Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

This repository is home to packages related to protobuf for Dart.

PackageDescriptionPublished Version
protobufA support library for the generated codepub package
protoc_pluginA Dart back-end for the protoc compilerpub package
api_benchmarkBenchmarking for various API calls
query_benchmarkBenchmark for encoding and decoding of a “real-world” protobuf