delete<T> method

  1. @override
Future<Response> delete<T>(
  1. String path,
  2. dynamic body,
  3. HttpOptions? options
)
override

Implementation

@override
Future<Response> delete<T>(
    String path, dynamic body, HttpOptions? options) async {
  final response = await client.delete(path);
  return DioResponse<T>(
      response.headers.map, json.decode(response.data), response.statusCode);
}