Skip to main content

json2model 1.1.1 copy "json2model: ^1.1.1" to clipboard
json2model: ^1.1.1 copied to clipboard

This library generates a model object corresponding to a JSON string by executing commands in code.

json2model Pub Version #

This library generates a model object corresponding to a JSON string by executing commands in code https://pub.dev/packages/json2model

Usage #

A simple usage example:

import 'package:json2model/json2model.dart';

void main() {
  run(['--src=example/json', '--dst=example/lib/models']);
}

Feature #

Feature Status
null safety ✅
toJson & fromJson ✅
encoder & decoder ✅
all properties final ✅
all properties optional ✅

Bugs #

Please file feature requests and bugs at the issue tracker.

About #

venshine.cn@gmail.com

License #

BSD 3-clause

6
likes
0
points
597
downloads

Publisher

verified publishervenshine.cn

Weekly Downloads

This library generates a model object corresponding to a JSON string by executing commands in code.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args

More

Packages that depend on json2model