request<T> method

  1. @override
Future<Response<T>> request<T>(
  1. String url,
  2. String method, {
  3. dynamic body,
  4. String? contentType,
  5. Map<String, String>? headers,
  6. Map<String, dynamic>? query,
  7. Decoder<T>? decoder,
  8. Progress? uploadProgress,
})

Implementation

@override
Future<Response<T>> request<T>(
  String url,
  String method, {
  dynamic body,
  String? contentType,
  Map<String, String>? headers,
  Map<String, dynamic>? query,
  Decoder<T>? decoder,
  Progress? uploadProgress,
}) {
  return _httpBase(
    method: method,
    url: url,
    header: headers,
    query: query,
    body: body,
    contentType: contentType,
    decoder: decoder,
    uploadProgress: uploadProgress,
  );
}