Hey Guys, in this Flutter video you will learn how to convert json to dart model classes and objects. You will learn how to parse json to dart models manually and automatically, by using a flutter json serializable library.
You will learn how to deal and parse simple json objects to dart models and then how to parse complex json objects to dart models and objects as well.
We will use json_serializable library to implement the automatic part.
For more Flutter content be sure to subscribe to the channel and turn on your notifications.
check out my Flutter tutorial to become Flutter hero: • Flutter Tutorial for B...
Links:
Don't click this: bit.ly/3dkJUNB
Pub dev library: pub.dev/packages/json_seriali...
Library example: github.com/google/json_serial...
GitHub Source code: github.com/Coding-Orbit/flutt...
-------- Content of this video --------
00:00 Intro
00:32 Manual JSON conversion
04:43 Automatic JSON conversion
#flutter #flutter_json #flutter_json_serializable #flutter_json_to_model
3 авг 2024