delete<T> method
Future<Response<T> >
delete<T>(
- String path, {
- Object? data,
- Map<
String, dynamic> ? queryParameters, - Options? options,
- CancelToken? cancelToken,
inherited
Convenience method to make an HTTP DELETE request.
Implementation
@override
Future<Response<T>> delete<T>(
String path, {
Object? data,
Map<String, dynamic>? queryParameters,
Options? options,
CancelToken? cancelToken,
}) {
return request<T>(
path,
data: data,
queryParameters: queryParameters,
options: checkOptions('DELETE', options),
cancelToken: cancelToken,
);
}