collectOnLifecycleResumed<T> method
Stream<T>
collectOnLifecycleResumed<
T>({ - bool runWithDelayed = false,
- bool collectBlockError = false,
- bool ignoreBlockError = false,
- Cancellable? cancellable,
- required FutureOr<T> block(
- Cancellable cancellable
),
})
Implementation
Stream<T> collectOnLifecycleResumed<T>(
{bool runWithDelayed = false,
bool collectBlockError = false,
bool ignoreBlockError = false,
Cancellable? cancellable,
required FutureOr<T> Function(Cancellable cancellable) block}) =>
collectOnLifecycle(
targetState: LifecycleState.resumed,
runWithDelayed: runWithDelayed,
collectBlockError: collectBlockError,
ignoreBlockError: ignoreBlockError,
cancellable: cancellable,
block: block);