mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 13:08:58 +00:00
* Dart null-safety - prepare migration annotations in library files * Dart null-safety - apply migration * Dart null-safety - update flatc to generate valid code * Dart null-safety - fix flatc generated code and adjust tests * Dart null-safety - update example and the generated code in the tests folder * Dart null safety - minor review changes * Dart - apply `dartfmt -w .`
FlatBuffers for Dart
This package is used to read and write FlatBuffer files in Dart.
Most consumers will want to use the flatc
compiler to generate Dart code from a FlatBuffers IDL schema. For example, the
monster_my_game.sample_generated.dart was generated with flatc from
monster.fbs in the example folder. The generated classes can be used to read
or write binary files that are interoperable with other languages and platforms
supported by FlatBuffers, as illustrated in the example.dart in the
examples folder.
Additional documentation and examples are available at the FlatBuffers site