delete static method

Context delete(
  1. String path, {
  2. Map<String, String>? headers,
  3. String remoteIp = '127.0.0.1',
})

Creates a test context with a DELETE request.

Implementation

static Context delete(
  String path, {
  Map<String, String>? headers,
  String remoteIp = '127.0.0.1',
}) {
  return _create('DELETE', path, headers: headers, remoteIp: remoteIp);
}