json_transform_model 0.0.8
json_transform_model: ^0.0.8 copied to clipboard
根据json文件自动生成模型文件,并把模型文件归并到一起使用泛型去访问.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add json_transform_modelThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
json_transform_model: ^0.0.8Alternatively, 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:json_transform_model/json_transform_model.dart';