flat_buffers 1.9.0 flat_buffers: ^1.9.0 copied to clipboard
FlatBuffers reading and writing library for Dart. Use the flatc compiler to generate Dart classes for a FlatBuffers schema, and this library to assist with reading and writing the binary format. Base [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flat_buffers
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flat_buffers: ^1.9.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flat_buffers/flat_buffers.dart';