delete method

Future delete(
  1. String path
)

Make a DELETE request to a specific path

Implementation

Future delete(String path) async {
  final response = await http.delete(
    Uri.parse(path),
    headers: await this._getHeaders(),
  );

  return _handleResponse(response);
}