delete<T> method Null safety

  1. @override
Future<Response<T>> delete<T>(
  1. String url,
  2. {Map<String, String>? headers,
  3. String? contentType,
  4. Map<String, dynamic>? query,
  5. Decoder<T>? decoder}
)
override

Implementation

@override
Future<Response<T>> delete<T>(
  String url, {
  Map<String, String>? headers,
  String? contentType,
  Map<String, dynamic>? query,
  Decoder<T>? decoder,
}) {
  _checkIfDisposed();
  return httpClient.delete(
    url,
    headers: headers,
    contentType: contentType,
    query: query,
    decoder: decoder,
  );
}