تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح 79- Flutter Networking - chopper - Adding Packages and create the API Services (Arabic) ضمن كورس Flutter شرح قناة Code2Start - Mohamed Fathy Taha، الفديو رقم 79 مجانى معتمد اونلاين
Flutter comes with basic networking and JSON serialization modules. These modules work but require a lot work to download JSON from the internet.
If you come from an Android or iOS background, you may be familiar with the Retrofit library on Android or the AlamoFire library on iOS. These libraries do the heavy lifting so you don’t have to do as much work.
This lecture uses the following steps:
1- Add the chopper, chopper_generator and build_runner packages.
2- Create the AuthorService abstraction
3- generate the AuthorService logic using the chooper_generator
4- run the commend to generate the service code
flutter packages pub run build_runner watch.
source code
https://github.com/code2start/Flutter-Networking-and-API/tree/7-chopper-lesson1