model_guard 0.0.7 copy "model_guard: ^0.0.7" to clipboard
model_guard: ^0.0.7 copied to clipboard

Automatic JSON parser for Flutter/Dart that logs model name, field name, and wrong values during parsing.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add model_guard

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

dependencies:
  model_guard: ^0.0.7

Alternatively, 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:model_guard/model_guard.dart';
0
likes
150
points
16
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Automatic JSON parser for Flutter/Dart that logs model name, field name, and wrong values during parsing.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on model_guard