put method

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

Issues a PUT request with an optional body.

Implementation

Future<NitroTestResponse> put(
  String path, {
  Object? body,
  Map<String, String>? headers,
}) => request(HttpMethod.put, path, body: body, headers: headers);