post<T> method
Future<Response<T> >
post<T>(
- String? url,
- dynamic body, {
- String? contentType,
- Map<
String, String> ? headers, - Map<
String, dynamic> ? query, - Decoder<
T> ? decoder, - Progress? uploadProgress,
override
Implementation
@override
Future<Response<T>> post<T>(
String? url,
dynamic body, {
String? contentType,
Map<String, String>? headers,
Map<String, dynamic>? query,
Decoder<T>? decoder,
Progress? uploadProgress,
}) {
_checkIfDisposed();
return httpClient.post<T>(
url,
body: body,
headers: headers,
contentType: contentType,
query: query,
decoder: decoder,
uploadProgress: uploadProgress,
);
}