post<T> method Null safety

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

Implementation

Future<Response<T>> post<T>(
  String url,
  dynamic body, {
  String? contentType,
  Map<String, String>? headers,
  Map<String, dynamic>? query,
  Decoder<T>? decoder,
});