get static method

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

Creates a test context with a GET request.

Implementation

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