filmov
tv
How to work with APIs in Flutter? How to parse JSON in Dart and define type-safe model classes?
Показать описание
As developers, we often need to work with APIs, parse JSON responses, and use them in-app. In this video I breakdown how to create type-safe model classes to parse JSON response!
Timestamps:
00:00 Introduction
00:46 What are APIs?
01:15 How to make an API call?
02:07 Ways to parse JSON in Flutter
02:40 Chrome Extension - JSON Viewer Pro
02:58 Anatomy of JSON response
03:47 How to parse JSON manually?
05:30 How to create models in dart?
08:49 Example Weather app for API work
14:05 Using quicktype for creating models
14:42 Using model to access data
15:49 Conclusion
Become a part of my community! (450+ Developers already 🥰)
Convert JSON into gorgeous, typesafe code in any language.
References:
----------------------------------------------------------------------------
Hey!
I am Aditya Thakur, a Developer and Designer. I make videos on Flutter, Python, and other technologies. I also sometimes take up Profile Building and entrepreneurship!
📚 PROMOS
Get an exclusive 10% discount on every GeeksforGeeks course!!
Use code: ADITYAT
💰 INVESTMENT APPS
Want to talk business? Or ask a question?
----------------------------------------------------------------------------
Become a part of my community! (450+ Developers already 🥰)
Timestamps:
00:00 Introduction
00:46 What are APIs?
01:15 How to make an API call?
02:07 Ways to parse JSON in Flutter
02:40 Chrome Extension - JSON Viewer Pro
02:58 Anatomy of JSON response
03:47 How to parse JSON manually?
05:30 How to create models in dart?
08:49 Example Weather app for API work
14:05 Using quicktype for creating models
14:42 Using model to access data
15:49 Conclusion
Become a part of my community! (450+ Developers already 🥰)
Convert JSON into gorgeous, typesafe code in any language.
References:
----------------------------------------------------------------------------
Hey!
I am Aditya Thakur, a Developer and Designer. I make videos on Flutter, Python, and other technologies. I also sometimes take up Profile Building and entrepreneurship!
📚 PROMOS
Get an exclusive 10% discount on every GeeksforGeeks course!!
Use code: ADITYAT
💰 INVESTMENT APPS
Want to talk business? Or ask a question?
----------------------------------------------------------------------------
Become a part of my community! (450+ Developers already 🥰)
Комментарии