api_manager 0.1.35 copy "api_manager: ^0.1.35" to clipboard
api_manager: ^0.1.35 copied to clipboard

A simple package for manage api request easily with the help of flutter dio api.

example/example.dart

//void main() async {
//  ApiManager _apiManager = ApiManager();
//  _apiManager.options.baseUrl = $base_url;
//  _apiManager.responseBodyWrapper("data");
//
//  ApiResponse<List<dynamic>> response = await _apiManager.request(
//    requestType: RequestType.GET,
//    route: $route,
//    responseBodySerializer: (jsonMap) {
//      return jsonMap as List;
//    },
//  );
//  print(response);
//}
24
likes
150
pub points
65%
popularity

Publisher

verified publisherdeepqtech.com

A simple package for manage api request easily with the help of flutter dio api.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, dio, flutter

More

Packages that depend on api_manager