put method
Sends a PUT request to path.
data and body follow the same rules as post.
Implementation
Future<AlphaXResponse> put(
String path, {
Map<String, Object?>? queryParameters,
Map<String, String>? headers,
Object? data = _alphaXDataNotSupplied,
AlphaXBody? body,
Duration? timeout,
AlphaXCancellationToken? cancellationToken,
}) => _send(
HttpMethod.put,
path,
queryParameters: queryParameters,
headers: headers,
data: data,
body: body,
timeout: timeout,
cancellationToken: cancellationToken,
);