put method

Future<Response> put(
  1. String path, {
  2. Object? data,
  3. Map<String, dynamic>? queryParameters,
  4. Options? options,
  5. CancelToken? cancelToken,
  6. ProgressCallback? onSendProgress,
  7. ProgressCallback? onReceiveProgress,
})

Wrap PUT method from Dio

Implementation

Future<Response> put(
  String path, {
  Object? data,
  Map<String, dynamic>? queryParameters,
  Options? options,
  CancelToken? cancelToken,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
}) {
  return _dio.put(
    path,
    cancelToken: cancelToken,
    data: data,
    onReceiveProgress: onReceiveProgress,
    onSendProgress: onSendProgress,
    options: options,
    queryParameters: queryParameters,
  );
}