handleInitializationCompletedEvent method

Stream<FastAppOnboardingBlocState> handleInitializationCompletedEvent()

Handles the initializationCompleted event by marking the onboarding process as completed and updating the state.

Implementation

Stream<FastAppOnboardingBlocState>
    handleInitializationCompletedEvent() async* {
  await _persistInitializationCompleted(true);

  yield currentState.copyWith(isCompleted: _persistedOnboarding!.isCompleted);
}