put method
Performs a PUT request to the specified url
, adding the authorization token.
If no token already exists, or if it is expired, a new one is requested.
Implementation
Future<http.Response> put(String url,
{Map<String, String>? headers,
dynamic body,
http.Client? httpClient}) async {
return _request('PUT', url,
headers: headers, body: body, httpClient: httpClient);
}