Last updated:
0 purchases
apihit
A Flutter Package to help developers with API Integrations.
Features #
This package has a Function called apiHit which takes the paramters as request,url,path and token (for authorization) and body.
The parameter token,body is not required.
Usage #
String token = preferences.getString("token");
Map<String,dynamic> data = {};
var response = await apiHit("GET","http://10.2.2.1:5000","/getBooks",token,data);
This response variable has your response returned by the API.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.