json2dart_safe 1.2.9+database copy "json2dart_safe: ^1.2.9+database" to clipboard
json2dart_safe: ^1.2.9+database copied to clipboard

outdated

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 Flutter:

 $ flutter pub add json2dart_safe

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

dependencies:
  json2dart_safe: ^1.2.9+database

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:json2dart_safe/base_db_model.dart';
import 'package:json2dart_safe/database/base_dao.dart';
import 'package:json2dart_safe/database/base_db_manager.dart';
import 'package:json2dart_safe/database/database_ext.dart';
import 'package:json2dart_safe/json2dart.dart';
import 'package:json2dart_safe/json_parse_utils.dart';
7
likes
0
points
459
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

License

unknown (license)

Dependencies

flutter, path, sqflite

More

Packages that depend on json2dart_safe