1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 06:48:26 +00:00

jsonexample maintenance (#150)

* jsonexample maintenance

* formatting
This commit is contained in:
John Ryan
2019-10-08 08:52:47 -07:00
committed by GitHub
parent 74c1777b2a
commit dfba162762
9 changed files with 65 additions and 62 deletions

View File

@@ -30,6 +30,16 @@ instantiating models and populating their fields.
Each tab page in the app deserializes one type of data with one library.
These Widgets show what app code using the above libraries might look like.
## Generating
The lib/build_value and lib/json_serializable use build_runner to generate
files. If you make a change to these files, you need to re-run the generator
using `build_runner`:
```
flutter pub run build_runner build
```
## Questions/issues
If you have a general question about JSON serialization in Flutter, the