dartify_json 0.0.2 copy "dartify_json: ^0.0.2" to clipboard
dartify_json: ^0.0.2 copied to clipboard

Dart Class Generator from JSON is a tool that automatically converts JSON files into Dart classes. It creates complete classes with fields, constructors, fromJson, and toJson methods, making it easy t [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dartify_json

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

dependencies:
  dartify_json: ^0.0.2

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:dartify_json/main.dart';
2
likes
135
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

Dart Class Generator from JSON is a tool that automatically converts JSON files into Dart classes. It creates complete classes with fields, constructors, fromJson, and toJson methods, making it easy to handle JSON data in Flutter and Dart applications.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, flutter

More

Packages that depend on dartify_json