updateRaw method

  1. @Deprecated('use "update", will remove at 3.0.1')
  2. @visibleForOverriding
FutureOr<T?> updateRaw(
  1. FutureOr<T> up(
    1. T old
    ), {
  2. dynamic onError(
    1. Object e,
    2. StackTrace s
    )?,
  3. int slowlyMs = 100,
  4. Object? debounceTag,
  5. Object? throttleTag,
  6. dynamic ignoreSkipError = true,
})

Deprecated use 'update'

Implementation

@Deprecated('use "update", will remove at 3.0.1')
@visibleForOverriding
FutureOr<T?> updateRaw(
  FutureOr<T> Function(T old) up, {
  Function(Object e, StackTrace s)? onError,
  int slowlyMs = 100,
  Object? debounceTag,
  Object? throttleTag,
  ignoreSkipError = true,
}) async => await update(
  (old) => up(old),
  onError: onError,
  slowlyMs: slowlyMs,
  debounceTag: debounceTag,
  throttleTag: throttleTag,
  ignoreSkipError: ignoreSkipError,
);