put method

Future<TestResponse> put(
  1. String path, {
  2. Object? body,
  3. Map<String, String>? headers,
  4. ContentType? contentType,
})

Sends a PUT request to the given path.

Implementation

Future<TestResponse> put(
  String path, {
  Object? body,
  Map<String, String>? headers,
  ContentType? contentType,
}) =>
    _request('PUT', path,
        body: body, headers: headers, contentType: contentType);