Files
flatbuffers/dart
Ivan Dlugos a6ee335574 Dart null safety (#6696)
* 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 .`
2021-06-22 08:54:57 -07:00
..
2021-06-22 08:54:57 -07:00
2021-06-22 08:54:57 -07:00
2021-06-22 08:54:57 -07:00
2018-05-18 11:06:15 -07:00
2021-06-22 08:54:57 -07:00
2018-05-18 11:06:15 -07:00

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