Part - 10 | Building List with Complex JSON Data WithOut Model Flutter Get API Call with null safety

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 100

  • @codinginflutter1234
    @codinginflutter1234 2 года назад +10

    Better than any udemy course💖 God Bless 💖

    • @thetechbrotherss
      @thetechbrotherss  2 года назад +1

      thank you share with your friends

    • @afaqmazhar5703
      @afaqmazhar5703 Год назад

      best of the best course a slap to the paid couses@@thetechbrotherss

  • @hasnainmirranivlog
    @hasnainmirranivlog 2 года назад +4

    you are blessing for flutter community ❤️

  • @Everything-l7p
    @Everything-l7p 10 месяцев назад

    Very good brother.... knowledge hv no religion.....ego hatane ke baad hi khuch new dikhta hai.

  • @starkstreak5583
    @starkstreak5583 2 года назад +2

    thankyou sir..you are covering all possibilites..

  • @Saansh6462
    @Saansh6462 2 года назад +2

    Thanks and thanks again. ... very very very useful video... . define in proper manner with better understanding..

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      You are most welcome, do like and share with your friends

  • @NiranjanND
    @NiranjanND 2 года назад +1

    Watched a lot of stuff but this is the best one

    • @thetechbrotherss
      @thetechbrotherss  2 года назад +1

      Thank you mate, do subscribe and share with your friends so maximum can take benefits.

  • @md.shamsulalamsajib9687
    @md.shamsulalamsajib9687 2 года назад +1

    SuperB Man. Thanks it’s make a help for beginner because beginning time students don’t know how to call the Complex Json by using Flutter. Loved you approach Man 👍👍❤️🇧🇩

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      Glad it helped!, do like the video and share with your friends.

  • @ahmedbaig8543
    @ahmedbaig8543 Год назад

    Great Sir you are following passive approach and this is unique method.. Love it

  • @politicaldrama00
    @politicaldrama00 2 года назад +3

    Future does't allow and show an error in Futurebuilder

    • @thetechbrotherss
      @thetechbrotherss  2 года назад +1

      because you are notdoing it right ay watch vide carefully

  • @shahidurrehman1147
    @shahidurrehman1147 Год назад +2

    sir i show this error
    Exception has occurred.
    NoSuchMethodError (NoSuchMethodError: The getter 'length' was called on null.
    Receiver: null
    Tried calling: length)

    • @thetechbrotherss
      @thetechbrotherss  Год назад +1

      Please test the api in postman, then print the output. If response is coming then it means data is not parsing.
      PS: please follow video carefully it worked for hundreds of students

  • @adilafridi8852
    @adilafridi8852 Год назад

    God Bless You Sir.

  • @nikhilshinde6546
    @nikhilshinde6546 2 года назад +2

    That was pretty well explained, I wanted to know if we don't know the name of parameters (keys) how do we access data?

  • @ashokchandra4911
    @ashokchandra4911 Год назад +1

    Perfect

  • @vishalgarna4580
    @vishalgarna4580 Год назад +1

    Helpful

  • @junishah3258
    @junishah3258 2 года назад +1

    amazing sir

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      Thank you do subscribe and share with your friends

  • @computerlearning3134
    @computerlearning3134 10 месяцев назад

    Well done sir

  • @balti10101
    @balti10101 5 месяцев назад

    Slam Asif bai, ay pura video mei ap na dart model ka istemal hi ni kya . kia model ka bagair dusara cases mei bi kaam chal skata ha kia. I am having a hard time understanding api integration and using model.

    • @thetechbrotherss
      @thetechbrotherss  5 месяцев назад +1

      models ko use krna sekho
      agr ni kia to ab kro r agy model ka he use kia kro

  • @pankajkhairnar621
    @pankajkhairnar621 Год назад

    which is better way, without model or using model for best performance...?

  • @azizrajpoot999
    @azizrajpoot999 4 месяца назад

    Great

  • @shamshushaash5251
    @shamshushaash5251 2 года назад +1

    bro how do we know like when we want to use models or when we dont have to use models ? if i use models in all projects no issues ryt ?

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      Bro mainy explain kia tha na without model wali api k jb model na bany tab use kro

  • @khabibali4967
    @khabibali4967 Год назад

    finally this method working properly.

    • @thetechbrotherss
      @thetechbrotherss  Год назад +1

      Everything in this course work properly. Please watch carefully

  • @khabibali4967
    @khabibali4967 Год назад

    When I try to create User Model Class it automatically create nested three classes folder extra like company, geo, and address. what I do.

  • @SehrishMoujahid
    @SehrishMoujahid Год назад

    connectionState.waiting this part

    • @thetechbrotherss
      @thetechbrotherss  Год назад

      Please check for model data is not parsing or print snapshot to get the exact error message

    • @SehrishMoujahid
      @SehrishMoujahid Год назад

      @@thetechbrotherss ok

  • @abubatool2298
    @abubatool2298 Год назад

    Nice

  • @codeandtraveling796
    @codeandtraveling796 2 года назад +2

    thanks

  • @syedshabbarraza6384
    @syedshabbarraza6384 3 месяца назад

    Asif bhai phir hum model use krty hi kioo hain
    Without model to itna easy method hai
    Aap ny pros and cons nahi btaye

    • @thetechbrotherss
      @thetechbrotherss  3 месяца назад

      model make it easy, i have explain in details everything

  • @medhavisharma1317
    @medhavisharma1317 Год назад

    best

  • @mobix25
    @mobix25 3 года назад +1

    hey bro, how can two json data can be combined and used as one?

    • @thetechbrotherss
      @thetechbrotherss  3 года назад

      Yes that’s depends upon the approach of backend developer.

    • @thetechbrotherss
      @thetechbrotherss  3 года назад

      Your backend developer will do this for after running some queries.

  • @Neelakaz
    @Neelakaz 2 года назад

    why future builder requesting api call for multiple times for single search(10 times).

    • @thetechbrotherss
      @thetechbrotherss  2 года назад +1

      you are doing something wrong, this isn;t the case with my code. You can check the source code from my github.com/axiftaj

    • @Neelakaz
      @Neelakaz 2 года назад

      @@thetechbrotherss i learn complex json from your tutorial only that was great and thank you for that.
      But when i implement search field and click text field or searching after first time the api was hitting 1O times or more
      I do why but writing some function on same page or setstate problem.
      If u have time can u make explain tutorial on this

  • @nihalpadwal
    @nihalpadwal 2 года назад +2

    i have api with name of the array now how do i do that

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      See part 11

    • @nihalpadwal
      @nihalpadwal 2 года назад

      @@thetechbrotherss i dont want to use model for it because my api is to big and i i tried creating model from the plugin as you said but that gave me errors like something about "fromJson" not working it is working for some lines but not for some so i thought for using only future builder
      Let me know if it is possible 🥲

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      Then watch the video in which i have told how to consume api without model.

  • @videos4u709
    @videos4u709 2 года назад +1

    Sir 3:31 par yy else portion ko empty q chor dia hy please zra Bata dy

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      Q k status code 200 aa raha ap r status code ko bhi handel kr skty ho

    • @theinfluencer940
      @theinfluencer940 Год назад

      bro ap ny b mery vali mistake ki honi.....Future getUserApi()
      small v likhoo shayad Capital V likha ho ap ny

  • @raghavgupta1423
    @raghavgupta1423 2 года назад +1

    Hello sir if are you create dart language course 0 to hero kya bna sakte hai sir aap

  • @gurasissingh178
    @gurasissingh178 2 года назад +3

    Bhai Model nahi bana agar toh kaise pata chalega? Kindly answer bro....

    • @thetechbrotherss
      @thetechbrotherss  2 года назад +1

      model to ban jata ha easily ap online website use kr lain ya plugin.

    • @gurasissingh178
      @gurasissingh178 2 года назад +1

      Ok. I want to learn Flutter as soon as possible. Kindly help me with your guidance and roadmap will be appreciated

    • @hurbangash1302
      @hurbangash1302 2 года назад +1

      file create nhi hogi agar extension ma masla ho .aur agar model banaty waqat json file ma space ya keyword use howa hoga tu pir model ma error degi

    • @hurbangash1302
      @hurbangash1302 2 года назад

      pajii u cant learn programming as soon as possible ,programming takes time and u have to be patient .if u r thinking u will become a professional flutter developer in one month then u r dreaming .wake up
      and face reality .first learn oop and programming basic if u dont know

    • @gurasissingh178
      @gurasissingh178 2 года назад +1

      @@hurbangash1302 quicktype karke extension is much better. Oop and Basics are definitely a must. Obviously yeh video dekh raha ho koi toh hawa me teer to nahi chala raha hai. Baki rahi baat journey ki it makes a huge difference when you get in detail of any project you are working on.... That's what makes a skilled developer 🙏.

  • @BasantKumar-lt3qd
    @BasantKumar-lt3qd Год назад

    How can we call "getUserApi" on the button click ?

    • @thetechbrotherss
      @thetechbrotherss  Год назад

      same way, call function and use set state

    • @BasantKumar-lt3qd
      @BasantKumar-lt3qd Год назад

      @@thetechbrotherss I got it from somewhere else, but anyway thanks for your reply 😊

  • @pratyushpandey2238
    @pratyushpandey2238 2 года назад +1

    sir isse pahle ke sare video me aapne data ko list me store karaya to iss API me data ko list me store q nhi karaya ?

    • @thetechbrotherss
      @thetechbrotherss  2 года назад

      mainy explain kia tha na how to handle different type if requests agr data array ka name ni ha to phr waias kro gy warna aise

    • @pratyushpandey2238
      @pratyushpandey2238 2 года назад

      @@thetechbrotherss but sir iss API me bhi data array ka name nhi hai

  • @syedshabbarraza6384
    @syedshabbarraza6384 3 месяца назад

    Sir right way kioo nahi hai kaam to same hi kr raha hai is ky nuqsaan aap ny nahi btaye

    • @thetechbrotherss
      @thetechbrotherss  3 месяца назад

      kya mtlb ?

    • @syedshabbarraza6384
      @syedshabbarraza6384 3 месяца назад

      @@thetechbrotherss sir video mein aap ny kaha ky without model krna right way nahi hai sortcut hai
      Lakin yeh nahi btaya is ka nuqsaan kya hai without model ka

  • @hurbangash1302
    @hurbangash1302 2 года назад +1

    sir address map nhi kya?

    • @thetechbrotherss
      @thetechbrotherss  2 года назад +1

      smjh ni aa rae bhai kya bol rahy ha

    • @hurbangash1302
      @hurbangash1302 2 года назад

      @@thetechbrotherss YE AP JISKO OBJECT BOL RAHY YE Map hai nah?

  • @SehrishMoujahid
    @SehrishMoujahid Год назад

    if(snapshot.connectionState == connectionState.waiting){
    return Text('Loading');
    }else{
    return Text(data[0]['name'].toString());
    } showing error

  • @13soulmate13
    @13soulmate13 2 года назад

    Brother api call krvane me dikkat aari h

  • @sadiaakterafrin7522
    @sadiaakterafrin7522 2 года назад

    if we could get data without making model then why we use Json model? why can't we use it without model??

  • @thetechbrotherss
    @thetechbrotherss  2 года назад +1

    source code:
    github.com/axiftaj/Flutter-Rest-Api-Tutorials-With-Example
    do give a start if it helped.