delete method

  1. @override
Future<ParseNetworkResponse> delete(
  1. String path, {
  2. ParseNetworkOptions? options,
})
override

Implementation

@override
Future<ParseNetworkResponse> delete(String path,
    {ParseNetworkOptions? options}) async {
  final http.Response response = await _client.delete(
    Uri.parse(path),
    headers: options?.headers,
  );
  return ParseNetworkResponse(
      data: response.body, statusCode: response.statusCode);
}