safePut method

Future<OxyResult<Response>> safePut(
  1. String path, {
  2. QueryMap? query,
  3. HeadersInit? headers,
  4. Object? body,
  5. Object? json,
  6. RequestOptions? options,
  7. ProgressCallback? onSendProgress,
  8. ProgressCallback? onReceiveProgress,
})

Implementation

Future<OxyResult<Response>> safePut(
  String path, {
  QueryMap? query,
  HeadersInit? headers,
  Object? body,
  Object? json,
  RequestOptions? options,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
}) {
  return safeRequest(
    'PUT',
    path,
    query: query,
    headers: headers,
    body: body,
    json: json,
    options: options,
    onSendProgress: onSendProgress,
    onReceiveProgress: onReceiveProgress,
  );
}