post<T> method

  1. @override
Future<Response<T>> post<T>(
  1. String path, {
  2. Map<String, String>? header,
  3. dynamic query,
  4. dynamic body,
  5. Progress? uploadProgress,
  6. String? contentType,
  7. Decoder<T>? decoder,
})

Implementation

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