dynamic_schema_mapper 0.1.0+2
dynamic_schema_mapper: ^0.1.0+2 copied to clipboard
Automatically map dynamic backend JSON to type-safe Dart structures at runtime without model classes. Perfect for evolving APIs.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dynamic_schema_mapperThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dynamic_schema_mapper: ^0.1.0+2Alternatively, 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:dynamic_schema_mapper/dynamic_schema_mapper.dart';