delete method
DELETE请求
Implementation
Future<Response?> delete(
String path, {
Map<String, dynamic>? params,
data,
CancelToken? cancelToken,
Map<String, dynamic>? headers,
}) async {
Options options = Options(method: 'delete', headers: headers);
return await request(
path,
options: options,
params: params,
data: data,
cancelToken: cancelToken,
);
}