send method

Future<Response> send(
  1. String method,
  2. String route, {
  3. Map<String, String> body = const {},
  4. Map<String, String> headers = const {},
  5. Map<String, String> queryParams = const {},
  6. BuildContext? context,
})

Implementation

Future<Response> send(
  String method,
  String route, {
  Map<String, String> body = const {},
  Map<String, String> headers = const {},
  Map<String, String> queryParams = const {},
  BuildContext? context,
}) async {
  return await Requester(
    url,
    ssl,
    method: method,
    route: route,
    body: body,
    headers: headers,
    queryParams: queryParams,
    context: context,
  ).call();
}