source code: github.com/axiftaj/Flutter-Rest-Api-Tutorials-With-Example do give a start if it helped.
@syedshabbarraza63843 ай бұрын
Sir kisi sy bhi itni achi samajh nahi aye API ki jitni aap sy aye hai JAZAKAllah sir Bohot shukriya
@thetechbrotherss3 ай бұрын
glad to hear this
@poetryiscodingdecoding7965 Жыл бұрын
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.
@thetechbrotherss Жыл бұрын
Glad to hear that, bro do subscribe and share with your friends
@codewithihsan21822 жыл бұрын
Thank You Sir as Always Keep it Up waiting for ChatApp from Scratch like this your explanation Method is Superb
@thetechbrotherss2 жыл бұрын
Sure, do subscribe and share with your friends.
@YashKhare-m5d8 ай бұрын
Must watch video for freshers.. Great going brother 😀
@thetechbrotherss8 ай бұрын
Thank you so much 😀
@mafiyaking0888Ай бұрын
Great work brother keep it up full support to you brother
@thetechbrotherssАй бұрын
thank you
@Saansh64622 жыл бұрын
very very useful video at all... .thanks a lot.
@thetechbrotherss2 жыл бұрын
You are most welcome, do like and share with your friends
@sadiaakterafrin75222 жыл бұрын
great initiative sir... keep making videos for begginers like me
@thetechbrotherss2 жыл бұрын
Thank you, i will post more content in future.
@basitali83092 жыл бұрын
Great work.! Thank You Taj bhai. Really Enjoyed.
@thetechbrotherss2 жыл бұрын
Glad it helped, please share with your friends so most can make most out of it.
@muhammadshahzebsulemani43652 жыл бұрын
Very amazing and Interesting Video Sir!
@thetechbrotherss2 жыл бұрын
Thank you do subscribe and share with your friends.
@yashmistry96352 жыл бұрын
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
@thetechbrotherss2 жыл бұрын
Ok sure subscribe and share with your friends
@mazharnadeem83582 жыл бұрын
awesome explaination..
@thetechbrotherss2 жыл бұрын
Thank you do subscribe and share with your friends.
@harisyounus9212 жыл бұрын
great work sir
@thetechbrotherss2 жыл бұрын
Thank you
@rana_adnan218 Жыл бұрын
very helpful Sir
@thetechbrotherss Жыл бұрын
Glad to hear that
@imdadullah90932 жыл бұрын
Text(snapshot.data![index].address!.city.toString()), sir what is this ! sign used for for null safety we use string?
@thetechbrotherss2 жыл бұрын
! sign means data cannot be null
@MuhammadASIF-wu5sk2 жыл бұрын
It shows te following error. When i use Usermodel. Fromjson(i) ; In for loop. Error. The argument type
@thetechbrotherss2 жыл бұрын
Its not error it’s pretty much clear your model has different variables go and change it to dynamic
@shahabuddin-pc8jr Жыл бұрын
i also facing this ,,how u resolved this?
@freelancermunim-eq4wm6 ай бұрын
Sir I have a question...why did we use snapshot.data[index].data.title.toString() 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
@thetechbrotherss6 ай бұрын
To be honest i don't remember now, i created this video long ago, but i must have explain this in the whole playlist
@syedshabbarraza63843 ай бұрын
I think both methods are identical and working same the difference only was previously we was first storing data to list them fetching and displaying directly from list But now we are just changed the path of fetching It just thing that I understand may be right may be wrong 🤷
@areebafarooq26942 жыл бұрын
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???
@thetechbrotherss2 жыл бұрын
ni array [ ] in symbol sy represent hoti ha r array he list hoti ha, please ma phr recommend krun ga ap basic json structure wali video dekhain r usko smhhain warna ap simple c api par bhi struggle karin ge
@areebafarooq26942 жыл бұрын
@@thetechbrotherss ok ok Thankyou
@test-yu2vn9 ай бұрын
HI thank you very much for this video, can plz make a video on listing of items with pagination while scrolling down
@thetechbrotherss9 ай бұрын
ok
@abhaymaurya81162 жыл бұрын
Plugin ke liye bhi thanks ...
@thetechbrotherss2 жыл бұрын
Thank you
@demodemo94292 жыл бұрын
Tq for making this video bro 🙏🙏😇😇😇😇😇
@thetechbrotherss2 жыл бұрын
Thank you do subscribe and share with your friends.
@demodemo94292 жыл бұрын
@@thetechbrotherss ofcourse bro 😃
@takirajani26932 жыл бұрын
Very good video..i liked this video and subscribe the channel.
@thetechbrotherss2 жыл бұрын
Thank you sir
@shahabuddin-pc8jr Жыл бұрын
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
@thetechbrotherss Жыл бұрын
Please follow with me carefully you must be doing something wrong or always comment the error for exact answer
@S4eedKhan2 ай бұрын
Sir can you please tell me that why we used async snapshot at 11:56 because in previous two tutorials we didnt used it
@thetechbrotherss2 ай бұрын
even if we didn't used it it's an async because it's future
@S4eedKhan2 ай бұрын
@@thetechbrotherss ok sir
@muhammadwaseem87312 жыл бұрын
Sir ya is ma adress wali complete body ko kesy show krwaingy? Jesy street , city, zipcode or suite jo address ki body hy isko hum 1 he dfa ma address ko mention krein or osmy city etc sb show ho jay?
@thetechbrotherss2 жыл бұрын
Full video dekho mainy sekhaya ha kaise kro gy
@abhaymaurya81162 жыл бұрын
Awesome Bro...
@InspirationForLifeOfficials Жыл бұрын
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
@Rmaqdas Жыл бұрын
same issue
@khabibali4967 Жыл бұрын
same issue
@gamesden80214 ай бұрын
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
@thetechbrotherss4 ай бұрын
muje ap ka question smjh ni aya
@taimoormanzoor73862 жыл бұрын
Sir, can you tell me what does mean of null safety?
@thetechbrotherss2 жыл бұрын
Means data cannot be null
@asangborkar6210 Жыл бұрын
To make sure we should get a null error we put a value which used when the data is not available
@asfarkhattakvlogs11082 жыл бұрын
Hello asif bhaie , app api k through jab data get karte hien ,our for loop k andher map k sath i lagate hien . Us i ka actual work kia hie , muje i pe eroor ata hie bas .jis ki waja se mn data get nhi kar pa raha. For( map i in data ) there..
@thetechbrotherss2 жыл бұрын
Yeah loop chalta ha to store data in list r phr hm list ko show krwaty ha front end par
@asfarkhattakvlogs11082 жыл бұрын
@@thetechbrotherss sir app quran api pe 1 video bana sakte hien plzz , jis me different apis use howe hote hien like for surahs ,ayahs and parahs
@test-yu2vn9 ай бұрын
Hi thank you very much for this video, i am getting error "The argument type 'Map' can't be assigned to the parameter type 'Map'." at getUserApi() function where 'userList.add(UserModel.fromJson(i));' can plz give suggest any thing
@thetechbrotherss9 ай бұрын
go to model and change string to dynamic from this 'Map to this 'Map'
@priyankavishwakarma55505 ай бұрын
@@thetechbrotherss thank you so much
@rana_adnan218 Жыл бұрын
bro ham local server say data fetch kis trah ker sakty ha eg. koi hosting ya ham khud kay computer ko online rakh kar data ko apis kay throw apni app may show kerwa sakty ha? like a movie app.
@thetechbrotherss Жыл бұрын
local k liye koi local database bna lain
@rana_adnan218 Жыл бұрын
@@thetechbrotherss bro wo kasy bnta ha koi hint da dy
@codeandtraveling7962 жыл бұрын
Sir ap se ek request thi sir jo user wali api ap ne yaha call ki he is api ka ap modal per ek video banade pata to chale asi api ka agr khud modal banana hua to kase banayge without plugin please
@thetechbrotherss2 жыл бұрын
Agy agy jao sub kuch sekhaya ha
@codeandtraveling7962 жыл бұрын
@@thetechbrotherss ok
@Yadnesh_10 ай бұрын
Bro I am working on a project where I am getting an status video of 429 , where I have the function in that I have for loop in that I have try,catch . In try block I am calling the 3 api of same server but it gives me 429 status code error how to fix. It
@thetechbrotherss10 ай бұрын
bro this is an error from server side, only backend developer can fix
@Yadnesh_10 ай бұрын
@@thetechbrotherss the api has rate limit 2 per second, the first 2 api hits successful,but it gives error for last . I tried using future delay for 1-10 second but nothing worked,
@auliyasstory8316 Жыл бұрын
assalam Oalikom sir hum har api ko class ka andar define kar sakty hy ka nahi???
@thetechbrotherss Жыл бұрын
g
@UsmanNawaz-pq4sj Жыл бұрын
Salam sir ham na yaha par future builder ma Asyncsnapshot
@thetechbrotherss Жыл бұрын
q k hm list ko build kr rahy ha is liye
@mr.mateen Жыл бұрын
I do the same but I don't know why maine jo list create ki hai wo 4 times repeat ho rahi hai
@thetechbrotherss Жыл бұрын
Do clear the list when you before fetching it
@mr.mateen Жыл бұрын
@@thetechbrotherss Thank you man I got it.
@MuslimUmmat Жыл бұрын
Asif bhai mera yeh perform hora hai 'CircularProgressIndicator(); ' laikin iskai baad white screen hai or name ,address user id nahi perform hore hain
@thetechbrotherss Жыл бұрын
Chek api response in postman then check in your app and print snapshots for debugging
@MuslimUmmat Жыл бұрын
@@thetechbrotherss jazak Allah done
@g4gamer3302 жыл бұрын
sir agar plugin kam na kara phair ham kia kara ga
@thetechbrotherss2 жыл бұрын
Plugin ka alternative dhondhain ya phr custom code karin channel par
@MuradAli-zt2rf Жыл бұрын
Json to dart
@tapForSkyyy Жыл бұрын
Agar Api response object k sath ho to kya karni chahiye?
@thetechbrotherss Жыл бұрын
watch next videos you will get the answers. Then you don't need the list just create model directly.
@tapForSkyyy Жыл бұрын
@thetechbrotherss Okay, btw the video seems clear with your explanation. Thank you so much for it!
@narayanpaswan65582 жыл бұрын
Sir agar paginate kiya huwa api aa raha ho. to usse kaise flutter me bind kare?
@thetechbrotherss2 жыл бұрын
Hello please follow this blog and you have your problem solved. www.kindacode.com/article/flutter-listview-pagination-load-more/
@auliyasstory8316 Жыл бұрын
Assalam Oalikom Sir Agar start object { } sy ho raha tu kasy get kary gy api ko
@thetechbrotherss Жыл бұрын
go ahead i taught it
@EbukaChikodi-ey3hi11 ай бұрын
I wish you had English subtitles
@thetechbrotherss11 ай бұрын
I wish 😢
@Hamza-dw4iw Жыл бұрын
why did we create our own model in previous video when we can do this way.
@thetechbrotherss Жыл бұрын
your must know all the methods, it helps you keep going
@auliyasstory8316 Жыл бұрын
mtlb without creating models
@thetechbrotherss Жыл бұрын
check video ap ko smjh aa jay ge
@pankajkhairnar621 Жыл бұрын
Bhai, is vale video me , har line pe typing mistake ho rahi hai...
@thetechbrotherss Жыл бұрын
koi bat ni hota ha chalta ha
@Arjuns_World Жыл бұрын
What if objects were different at different index
@thetechbrotherss Жыл бұрын
It doesn’t matter if you understand the json structure
@Arjuns_World Жыл бұрын
@@thetechbrotherss but how will we access it in a list of the object names are different in every index