request<T> method
Future<Response<T>>
request<
T>( - String url,
- String method, {
- dynamic body,
- String? contentType,
- Map<String, dynamic>? query,
- Decoder<T>? decoder,
- 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,
);
}