launchWhenLifecycleStateResumed<T> method
Future<T>
launchWhenLifecycleStateResumed<
T>({ - bool runWithDelayed = false,
- Cancellable? cancellable,
- required FutureOr<T> block(
- Cancellable cancellable
),
})
Implementation
Future<T> launchWhenLifecycleStateResumed<T>(
{bool runWithDelayed = false,
Cancellable? cancellable,
required FutureOr<T> Function(Cancellable cancellable) block}) =>
launchWhenLifecycleStateAtLeast(
targetState: LifecycleState.resumed,
runWithDelayed: runWithDelayed,
cancellable: cancellable,
block: block);