deleteUri<T> method Null safety

  1. @override
Future<Response<T>> deleteUri<T>(
  1. Uri uri,
  2. {dynamic data,
  3. Options? options,
  4. CancelToken? cancelToken}
)
override

Handy method to make http DELETE request, which is a alias of BaseDio.requestOptions.

Implementation

@override
Future<Response<T>> deleteUri<T>(
  Uri uri, {
  data,
  Options? options,
  CancelToken? cancelToken,
}) {
  return requestUri<T>(
    uri,
    data: data,
    options: checkOptions('DELETE', options),
    cancelToken: cancelToken,
  );
}