launchWhenNextLifecycleEventStart<T> method
Future<T>
launchWhenNextLifecycleEventStart<
T>({ - bool runWithDelayed = false,
- Cancellable? cancellable,
- required FutureOr<T> block(
- Cancellable cancellable
),
})
Implementation
Future<T> launchWhenNextLifecycleEventStart<T>(
{bool runWithDelayed = false,
Cancellable? cancellable,
required FutureOr<T> Function(Cancellable cancellable) block}) =>
launchWhenNextLifecycleEvent(
targetEvent: LifecycleEvent.start,
runWithDelayed: runWithDelayed,
cancellable: cancellable,
block: block);