patchUri<T> method
Future<Response<T> >
patchUri<T>(
- Uri uri, {
- dynamic data,
- Options? options,
- CancelToken? cancelToken,
- ProgressCallback? onSendProgress,
- ProgressCallback? onReceiveProgress,
inherited
Handy method to make http PATCH request, which is a alias of BaseDio.requestOptions
.
Implementation
@override
Future<Response<T>> patchUri<T>(
Uri uri, {
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,
);
}