Part - 9 Flutter Get API call with Null Safety | Building List with Complex JSON using FutureBuilder

preview_player
Показать описание
In this video i will teach you how we can build list with complex json data, includes nested JSON object inside Object with Arrays using future builder. We will also discuss nature of APIS response and how then we can create our own custom model to fetch data from server and show it in API.

______________/Connect On Social Media\_____________
=========================================

How to capture image from camera in flutter:

My Card App Flutter :

rest apis,flutter get api call with null safety, building list with JSON data, future builder, flutter rest api tutorials crash course,

Thank you for watching my channel do give feedback about this video.

#flutter #fluttertutorial #form #components #flutter #asiftajtech
Рекомендации по теме
Комментарии
Автор

source code:
do give a start if it helped.

thetechbrotherss
Автор

Sir kisi sy bhi itni achi samajh nahi aye API ki jitni aap sy aye hai
JAZAKAllah sir Bohot shukriya

syedshabbarraza
Автор

Never thought I would work on API's ..but when you get a good teacher....everything is so crystalline clear. Sir, keep on bringing more stuff with more projects.

poetryiscodingdecoding
Автор

Thank You Sir as Always Keep it Up waiting for ChatApp from Scratch like this
your explanation Method is Superb

codewithihsan
Автор

Must watch video for freshers.. Great going brother 😀

fcsovwl
Автор

Great work.! Thank You Taj bhai. Really Enjoyed.

basitali
Автор

very very useful video at all... .thanks a lot.

Saansh
Автор

great initiative sir... keep making videos for begginers like me

sadiaakterafrin
Автор

Very amazing and Interesting Video Sir!

muhammadshahzebsulemani
Автор

It shows te following error. When i use Usermodel. Fromjson(i) ;
In for loop.


Error.
The argument type <Map<dynamic, dynamic>' can't be assigned to the parameter type string.

MuhammadASIF-wusk
Автор

Sir can you make a video on what is model and why it is used and making model of complex and without complex object of an API but without using this plugin
It will be much helpful for me sir to understand how things works

yashmistry
Автор

Hello Sir,

I'm practicing the same code, but found lot of errors, like.

Aik jo JSONtoDart UserModel create kiya wo aik b bijaye 3 additional b generate hogaye khud he.
1. address.dart
2. Company.dart
3. Geo.dart

Inhi 3no files mai errors a arahy. like.

Address.fromJson(dynamic json) {
jab address pr focus kro to error ata (Non-nullable instance field 'city' must be initialized)

isi tarah in k sath required missing ka error ata jab k ap k pass aisa kuch nahi araha tha.
Address({
this.street,
this.suite,
this.city,
this.zipcode,
this.geo, });

sir please guide

InspirationForLifeOfficials
Автор

Text(snapshot.data![index].address!.city.toString()), sir what is this ! sign used for for null safety we use string?

imdadullah
Автор

HI thank you very much for this video, can plz make a video on listing of items with pagination while scrolling down

test-yuvn
Автор

Very good video..i liked this video and subscribe the channel.

takirajani
Автор

sir g error di raha hae UserModel.fromjson yaha pi from json bilkul nahi ly raha hae, 4 bar model ko dobara create kia or github si ap ka model b copy kia phir b nahi ho raha hae

shahabuddin-pcjr
Автор

if we have a json response start with curly brackets { response:1, code: 200, data: { "id":1, "name": areeba}} like this ... still would this be consider as a list???

areebafarooq
Автор

Sir I have a question...why did we use whereas we have used post[index].title.toString() for the same API in the previous video? and Thank you for the tutorial...respect from Bangladesh

freelancermunim-eqwm
Автор

Sir agr array ka name nahi ho or uska inner ma objects ka keys same ho all objects ma tu model srif aik hi object ka Bana ga or agr same array case ho laikin objects ma nested object ajai tu bhi model first object ka Bana ga plzz answer me

gamesden
Автор

Sir can you please tell me that why we used async snapshot at 11:56 because in previous two tutorials we didnt used it

SeedKhan
visit shbcf.ru