request<T> method Null safety

Future<Response<T>> request<T>(
  1. String url,
  2. String method,
  3. {dynamic body,
  4. String? contentType,
  5. Map<String, String>? headers,
  6. Map<String, dynamic>? query,
  7. Decoder<T>? decoder}
)

Implementation

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