You need to make class model for it. in the model you should have fromJson method and then you once you received the data from the server, call json.decode(response.body) and then model.fromJson(decoded object). save it in a list
@@dbestechsorry if i wasn't clear in my question , my question was how can i access the List address with all the objects and display in ListView.builder, please help i'm stuck on this problem for so many hours now
Thanks for explaining I have a json form API when i pass a parameter to a obj i don't know what to passing I NEED TO MAKE POST IN FLUTTER Please help me ❤️
for posting data, you must create json format. You can do it manually as you pass it or you can create a function for it. Then pass the json to the http body proerty.
I have never saw this kind of teacher in my life before. I love the way he cover all the things like basics to advanced. Love you man Note: as a beginner these things can be your biggest headaches. so before working with real world applications watch this video again and again.
I think you just saved 5 people's graduation project. Thank you so much for your effort. Everything is simply and neatly explained. Keep up the great great work! Subbed for sure!!!
This video doesn't say a word about JSON, but only about maps. Maps are data structures, not a string that _describes_ a data structure, which is what JSON is. I need to get the data in and out of JSON.