zwjson_serializable 0.0.2 zwjson_serializable: ^0.0.2 copied to clipboard
修改了json解析生成的方法名称,提供的fetch方法
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add zwjson_serializable
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
zwjson_serializable: ^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:zwjson_serializable/zwjson_serializable.dart';