put method

  1. @override
Future<Response> put(
  1. Uri url, {
  2. Map<String, String>? headers,
  3. Object? body,
  4. Encoding? encoding,
})
inherited

Sends an HTTP PUT request to the specified url.

Implementation

@override
Future<Response> put(
  Uri url, {
  Map<String, String>? headers,
  Object? body,
  Encoding? encoding,
}) {
  return send(makeRequest(
    'PUT',
    url,
    headers: headers,
    body: body,
    encoding: encoding,
  ));
}