type_binder 0.0.1
type_binder: ^0.0.1 copied to clipboard
The TypeBindery package simplifies the process of managing multiple types of JSON-serializable classes in Dart
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add type_binderThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
type_binder: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:type_binder/annotation.dart';
import 'package:type_binder/registry_builder.dart';
import 'package:type_binder/type_annotation_locating_builder.dart';