previousStep method

void previousStep()

Implementation

void previousStep() {
  if (state.currentStep > 0) {
    emit(state.copyWith(currentStep: state.currentStep - 1));
  }
}