put static method

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

Creates a test context with a PUT request.

Implementation

static Context put(
  String path, {
  Object? body,
  Map<String, String>? headers,
  String remoteIp = '127.0.0.1',
}) {
  return _create(
    'PUT',
    path,
    body: body,
    headers: headers,
    remoteIp: remoteIp,
  );
}