advanceToNextStep method
void
advanceToNextStep()
Implementation
void advanceToNextStep() {
if (state.nextStep != null) {
state = state.copyWith(
currentStep: state.nextStep,
nextStep: null,
);
}
if (state.nextStep == null &&
state.pendingSessionId != null &&
state.currentStep == const VerificationStep.processing()) {
completeFlow();
}
}