Consuming REST API in flutter | REST API call in flutter using http package
Channel: Jatinder Verma
Date: 2022-10-29

This video is about how to consume REST API in flutter.
I have created a simple application which is using ListView to display list of items coming from API Endpoint.

In order to perform REST API call, http package has been used from pub.dev whose exact link is:
https://pub.dev/packages/http

I have consume following API  END Point:
https://jatinderji.github.io/users_pets_api/users_pets.json

For generating Class(Source Code) of the API Response(i.e. Model Class), I have used following tool:
https://app.quicktype.io/

To learn how to host your data on GitHub watch following video:
https://youtu.be/aZzLwzkiAfg

To learn how to work with ListView watch following video:
https://youtu.be/X0AIEzIqHYk

Check out source code of the project for your reference:
https://github.com/jatinderji/rest_api_app

youtube.com/@jatinderverma6