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

Поділитися
Вставка
  • Опубліковано 31 гру 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

  • @Everything-l7p
    @Everything-l7p 11 місяців тому

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

  • @hasnainmirranivlog
    @hasnainmirranivlog 2 роки тому +4

    you are blessing for flutter community ❤️

  • @starkstreak5583
    @starkstreak5583 2 роки тому +2

    thankyou sir..you are covering all possibilites..

  • @Saansh6462
    @Saansh6462 3 роки тому +2

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

    • @thetechbrotherss
      @thetechbrotherss  3 роки тому

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

  • @md.shamsulalamsajib9687
    @md.shamsulalamsajib9687 3 роки тому +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  3 роки тому

      Glad it helped!, do like the video 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.

  • @ahmedbaig8543
    @ahmedbaig8543 2 роки тому

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

  • @thetechbrotherss
    @thetechbrotherss  2 роки тому +1

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

  • @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

  • @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

  • @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

  • @computerlearning3134
    @computerlearning3134 11 місяців тому

    Well done sir

  • @balti10101
    @balti10101 6 місяців тому

    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  6 місяців тому +1

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

  • @codeandtraveling796
    @codeandtraveling796 2 роки тому +2

    thanks

  • @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

  • @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

  • @azizrajpoot999
    @azizrajpoot999 6 місяців тому

    Great

  • @pankajkhairnar621
    @pankajkhairnar621 Рік тому

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

  • @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.

  • @abubatool2298
    @abubatool2298 Рік тому

    Nice

  • @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

  • @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.

  • @nihalpadwal
    @nihalpadwal 3 роки тому +2

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

    • @thetechbrotherss
      @thetechbrotherss  3 роки тому

      See part 11

    • @nihalpadwal
      @nihalpadwal 3 роки тому

      @@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  3 роки тому

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

  • @raghavgupta1423
    @raghavgupta1423 2 роки тому +1

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

  • @medhavisharma1317
    @medhavisharma1317 Рік тому

    best

  • @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

  • @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 🙏.

  • @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

  • @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 😊

  • @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?

  • @Madina_tul_ilm6384
    @Madina_tul_ilm6384 5 місяців тому

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

    • @thetechbrotherss
      @thetechbrotherss  5 місяців тому

      kya mtlb ?

    • @Madina_tul_ilm6384
      @Madina_tul_ilm6384 5 місяців тому

      @@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

  • @Madina_tul_ilm6384
    @Madina_tul_ilm6384 5 місяців тому

    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  5 місяців тому

      model make it easy, i have explain in details everything

  • @13soulmate13
    @13soulmate13 2 роки тому

    Brother api call krvane me dikkat aari h

  • @SehrishMoujahid
    @SehrishMoujahid Рік тому

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

  • @sadiaakterafrin7522
    @sadiaakterafrin7522 3 роки тому

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