api_manager 0.1.32 copy "api_manager: ^0.1.32" to clipboard
api_manager: ^0.1.32 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
120
pub points
58%
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