model_guard 0.0.5 copy "model_guard: ^0.0.5" to clipboard
model_guard: ^0.0.5 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 Dart:

 $ dart pub add model_guard

With Flutter:

 $ flutter pub add model_guard

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

dependencies:
  model_guard: ^0.0.5

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:model_guard/model_guard.dart';
1
likes
0
points
117
downloads

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

unknown (license)

Dependencies

flutter

More

Packages that depend on model_guard