whenFirstStart method

  1. @Deprecated('use [launchWhenLifecycleStateStarted]')
Future<LifecycleEvent> whenFirstStart()

Implementation

@Deprecated('use [launchWhenLifecycleStateStarted]')
Future<LifecycleEvent> whenFirstStart() =>
    whenMoreThanState(LifecycleState.started)
        .then((value) => LifecycleEvent.start);