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

outdated

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

api_manager pub package #

A simple flutter API to manage rest api request easily with the help of flutter dio.

Get started #

Install #

Add dependency #

pub package

dependencies:
  api_manager: $latest_version

Super simple to use #

import 'package:api_manager/api_manager.dart';

void main() async {
  ApiManager _apiManager = ApiManager();
  _apiManager.options.baseUrl = "your base url";

  ApiResponse<Map<String, dynamic>> response = await _apiManager.request(
    requestType: RequestType.GET,
    route: "your route",
  );
  print(response);
}
24
likes
0
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

License

unknown (license)

Dependencies

dio, flutter

More

Packages that depend on api_manager