model_from_json 1.0.1 copy "model_from_json: ^1.0.1" to clipboard
model_from_json: ^1.0.1 copied to clipboard

retracted

A Dart CLI tool that generates Equatable-ready Dart model classes directly from JSON files, with support for nested objects, lists, and automatic fromJson/toJson methods.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate model_from_json

Use it

The package has the following executables:

$ model_from_json

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add model_from_json

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

dependencies:
  model_from_json: ^1.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:model_from_json/model_from_json.dart';
1
likes
0
points
165
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart CLI tool that generates Equatable-ready Dart model classes directly from JSON files, with support for nested objects, lists, and automatic fromJson/toJson methods.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable

More

Packages that depend on model_from_json