create static method
Creates a test context with custom method.
Implementation
static Context create(
String method,
String path, {
Object? body,
Map<String, String>? headers,
String remoteIp = '127.0.0.1',
int? contentLength,
}) {
return _create(
method,
path,
body: body,
headers: headers,
remoteIp: remoteIp,
contentLength: contentLength,
);
}