Загрузка страницы

Flutter Convert JSON to Dart Model Classes

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: https://www.youtube.com/watch?v=A-macK7KAyM&list=PLj919aSiofd0lTnzXt8VKpZQnGi-SogUD&t=0s

Links:
Don't click this: https://bit.ly/3dkJUNB
Pub dev library: https://pub.dev/packages/json_serializable
Library example: https://github.com/google/json_serializable.dart/tree/master/example
GitHub Source code: https://github.com/Coding-Orbit/flutter_json.git

--------- 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

Видео Flutter Convert JSON to Dart Model Classes канала Coding Orbit
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 декабря 2021 г. 20:30:02
00:13:33
Яндекс.Метрика