toon_serializable 1.0.0 copy "toon_serializable: ^1.0.0" to clipboard
toon_serializable: ^1.0.0 copied to clipboard

The official code generator for Token-Oriented Object Notation (TOON) models in Dart. Automatically generates TOON serialization code.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add toon_serializable

With Flutter:

 $ flutter pub add toon_serializable

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

dependencies:
  toon_serializable: ^1.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:toon_serializable/toon_serializable.dart';
1
likes
140
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

The official code generator for Token-Oriented Object Notation (TOON) models in Dart. Automatically generates TOON serialization code.

Repository (GitHub)
View/report issues

Topics

#code-generation #serialization #build-runner #toon #codegen

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, code_builder, meta, source_gen, toon_annotation, toon_dart

More

Packages that depend on toon_serializable