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