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,
})
inherited

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,
}) {
  _checkIfDisposed();
  return httpClient.request<T>(
    url,
    method,
    body: body,
    headers: headers,
    contentType: contentType,
    query: query,
    decoder: decoder,
    uploadProgress: uploadProgress,
  );
}