patchUri<T> method

  1. @override
Future<Response<T>> patchUri<T>(
  1. Uri uri, {
  2. Object? data,
  3. Options? options,
  4. CancelToken? cancelToken,
  5. ProgressCallback? onSendProgress,
  6. ProgressCallback? onReceiveProgress,
})
inherited

Convenience method to make an HTTP PATCH request with Uri.

Implementation

@override
Future<Response<T>> patchUri<T>(
  Uri uri, {
  Object? data,
  Options? options,
  CancelToken? cancelToken,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
}) {
  return requestUri<T>(
    uri,
    data: data,
    options: checkOptions('PATCH', options),
    cancelToken: cancelToken,
    onSendProgress: onSendProgress,
    onReceiveProgress: onReceiveProgress,
  );
}