whenFirstStart method

Future<LifecycleEvent> whenFirstStart()

Implementation

Future<LifecycleEvent> whenFirstStart() =>
    whenMoreThanState(LifecycleState.started)
        .then((value) => LifecycleEvent.start);