apihit 0.0.7 copy "apihit: ^0.0.7" to clipboard
apihit: ^0.0.7 copied to clipboard

A new Flutter package to make the api integrations easy.

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.

5
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package to make the api integrations easy.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, http

More

Packages that depend on apihit