updateRaw method

  1. @visibleForTesting
  2. @protected
  3. @override
FutureOr<M?> updateRaw(
  1. FutureOr<M?> update(
    1. M old
    ), {
  2. dynamic onError(
    1. Object e,
    2. StackTrace s
    )?,
  3. int slowlyMs = 100,
  4. Object? debounceTag,
  5. Object? throttleTag,
  6. dynamic ignoreSkipError = true,
})
override

use debounceMs|throttleTag, must 'await' to get correct stace trace

Implementation

@visibleForTesting
@protected
@override
FutureOr<M?> updateRaw(
  FutureOr<M?> Function(M old) update, {
  Function(Object e, StackTrace s)? onError,
  int slowlyMs = 100,
  Object? debounceTag,
  Object? throttleTag,
  ignoreSkipError = true,
}) => super.updateRaw(
  update,
  onError: onError,
  slowlyMs: slowlyMs,
  debounceTag: debounceTag,
  throttleTag: throttleTag,
  ignoreSkipError: ignoreSkipError,
);