fetch method

  1. @override
  2. @protected
Future<Response> fetch(
  1. String method,
  2. String path, {
  3. Map<String, dynamic>? query,
  4. dynamic data,
  5. dynamic onReceiveProgress(
    1. int,
    2. int
    )?,
})
override

Sends a protected request using method to the specified path with optional parameters.

Implementation

@override
@protected
Future<Response> fetch(String method, String path,
        {Map<String, dynamic>? query,
        dynamic data,
        Function(int, int)? onReceiveProgress}) async =>
    Response();