Student Reviews
( 5 Of 5 )
1 review
Video of 79- Flutter Networking - chopper - Adding Packages and create the API Services (Arabic) in Flutter course by Code2Start - Mohamed Fathy Taha channel, video No. 79 free certified online
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