03 Api Call Code Refactoring | Flutter REST API Series

  Рет қаралды 22,010

Nitish Kumar Singh

Nitish Kumar Singh

Күн бұрын

Пікірлер: 11
@thatsenoughdixit
@thatsenoughdixit Жыл бұрын
Good work Nitish !
@khanriyaz24
@khanriyaz24 7 ай бұрын
Great, I was looking the way to create modal and then use getter to compute the value and get result. Thank you Nitish
@harshamilan3279
@harshamilan3279 Жыл бұрын
superb keep it up
@abrorshamuradov1572
@abrorshamuradov1572 2 жыл бұрын
dude, you are the best
@alitalaee7468
@alitalaee7468 9 ай бұрын
please make also another tutorial... you are so good!
@pratikpatrimath4887
@pratikpatrimath4887 Жыл бұрын
Thank you so mach sir
@abasilis
@abasilis 2 жыл бұрын
Thank you very much for these videos, until this one I've learned a few things I did not know about getting data from a REST Api. I've done many samples, but no one implementing "nested" values in the jSon file. One question, Do I need to implement Future, async and await when calling fetchUsers since these three (combined of course) are already called in the UserApi class? I feel like I'm repeating code. Thanks for clarifying, I really appreciate your time.
@NitishKumarSingh
@NitishKumarSingh 2 жыл бұрын
I’m glad that you have good understanding of rest API fetching nested values. No, you are not repeating code. This can’t be avoided. When we call any async method and to get their response, we need to use await before that method call. Future and Async is used when any method is calling a async method .
@abasilis
@abasilis 2 жыл бұрын
@@NitishKumarSingh Thanks! 👍😃
@SaninThottungal-oz6gd
@SaninThottungal-oz6gd 10 ай бұрын
i have a doubt, why did you made the fetchusers() function a static function? great video by the way...;)
@YomiYusuf
@YomiYusuf 6 ай бұрын
That's how you can access the function outside of that class without instantiating the class in the caller class
04  Writing Complex Parsing Code | Flutter REST API Series
10:44
Nitish Kumar Singh
Рет қаралды 16 М.
REST Call with Flutter - Http methods
19:55
CodeX
Рет қаралды 75 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
02 Adding Model to the API call | Flutter REST API Series
8:37
Nitish Kumar Singh
Рет қаралды 44 М.
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 90 М.
Todo App using Rest API | CRUD App | Flutter English Tutorial
1:00:01
Nitish Kumar Singh
Рет қаралды 89 М.
Flutter Rest API - Simplifying Make API Call Using Retrofit
3:41
Flutter Guys
Рет қаралды 24 М.
APIs for Beginners - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 3,1 МЛН
REST API with Flutter | Step by step tutorial
11:10
CodeX
Рет қаралды 170 М.
Tween (Technique of the Week)
2:27
Flutter
Рет қаралды 58 М.
Abort Fetch API Requests using AbortController
6:37
Colby Fayock
Рет қаралды 13 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 855 М.