launchWhenLifecycleStateResumed<T> method

Future<T> launchWhenLifecycleStateResumed<T>({
  1. bool runWithDelayed = false,
  2. Cancellable? cancellable,
  3. required FutureOr<T> block(
    1. 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);