put method
Sends an HTTP PUT request with the given headers and body to the given URL.
Implementation
Future<IsolateHttpResponse?> put(String url,
{Map<String, String>? query,
Map<String, String>? headers,
Map<String, dynamic>? body,
List<HttpFile>? files}) async {
final _isolateHttpRequest = IsolateHttpRequest(url,
method: HttpMethod.put,
query: query,
headers: headers,
body: body,
files: files);
_logCurl(_isolateHttpRequest);
return send(_isolateHttpRequest);
}