put static method

Future<Response> put(
  1. String path, {
  2. bool showLoading = false,
  3. DioMethod method = DioMethod.put,
  4. Map<String, dynamic>? params,
  5. dynamic data,
  6. CancelToken? cancelToken,
  7. Options? options,
})

Implementation

static Future<Response> put(
  String path, {
  bool showLoading = false,
  DioMethod method = DioMethod.put,
  Map<String, dynamic>? params,
  data,
  CancelToken? cancelToken,
  Options? options,
}) {
  return HttpUtils().request(path,
      showLoading: showLoading, method: method, params: params, data: data, options: options, cancelToken: cancelToken);
}