putResponse method

Future<Response> putResponse(
  1. Uri uri, {
  2. Map<String, String>? headers,
})

Returns the response of the given url after a PUT request. This process is async, thus the response is returned as a future response instance.

Implementation

Future<http.Response> putResponse(
  Uri uri, {
  Map<String, String>? headers,
}) async =>
    _client.put(uri, headers: headers);