json2dart_safe 1.6.0 copy "json2dart_safe: ^1.6.0" to clipboard
json2dart_safe: ^1.6.0 copied to clipboard

A plugin to generated json with Null-Safety feature and safe convert with default value.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json2dart_safe

With Flutter:

 $ flutter pub add json2dart_safe

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

dependencies:
  json2dart_safe: ^1.6.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:json2dart_safe/json2dart.dart';
7
likes
150
points
458
downloads

Publisher

unverified uploader

Weekly Downloads

A plugin to generated json with Null-Safety feature and safe convert with default value.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on json2dart_safe