post<T> method

  1. @override
Future<Response<T>> post<T>(
  1. String? url,
  2. dynamic body,
  3. {String? contentType,
  4. Map<String, String>? headers,
  5. Map<String, dynamic>? query,
  6. Decoder<T>? decoder,
  7. 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,
  );
}