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