delete method

Future delete(
  1. Uri path, {
  2. Map<String, String>? body,
})

Make a simple DELETE request.

path is the destination URI and body contains the DELETE parameters that will be sent with the request.

Implementation

Future<dynamic> delete(Uri path, {Map<String, String>? body}) async {
  _logger.info('DELETE: $path body: ${DRAWLoggingUtils.jsonify(body)}');
  return _request(_kDeleteRequest, path, body: body);
}