#FlutterJsonBeanFactory is a plugin for generating dart’s JSON entity class and factory’s idea family bucket based on configuration. Yaml: you can customize the background return value,datetime parsing format, whether to participate in parsing and parsing using @jsonField annotationIf (name: “list”) = ‘list’,deserialize(default true) indicates whether to parse fromJson, seriialize (default true) indicates whether to parse tojsonAll map fields in a list can be parsed, and the map fields in each list are different or null## 3 You can automatically generate helper files, modify or add fields in the Entity later, just a shortcut key (Alt + J) can regenerate files, and delete redundant files.Contents of the Helper fileJsonConvert convenient with network request encapsulation for generic processing directly transfer the entity generated above can automatically parse out the corresponding instance according to the map, and automatically assign value##⑤ Use GIF imagesIf you don’t want to use this plugin in your project, you can configure it in pubspec.yaml, which of course needs to be set to false

Network Request instanceDio request section

Install the pluginFlutterJsonBeanFactory option is added to tools when you restart the IDE after installation### Right-click new in the corresponding directory, the dart bean class File from JSON will be displayed, and click this option### pop up a popup box with the class name and json string, for example: fill in type ABC and JSON string### Clicking the make button will generate the a_b_C_entity.dart fileAfter these operations are complete, the following files are automatically generated@jsonField applies to Field, The name not only defines the name of the input key, but also the name of the flutter end according to the camel’s name. The a_b_C_entity_helper. dart class provides eitity class toJSON and fromJSON proxy methods Dart provides the json_convert_content.dart. FromJsonAsT method to parse JSON into objects based on generics

Note: Open a separate window for Modul for inclusion modules in the same project that you want to build with this plugin (as well as native integration flutter), this plugin only works for lib services in the current project root directory

# # #Next (network class use) address, feel useful, can give a point like