handleNextStep method
void
handleNextStep()
Advances to the next step if the current step is not the last. Resets or recalculates the displayable questions for the new step.
Implementation
void handleNextStep() {
if (!isLastStep) {
if (kDebugMode) {
debugPrint('Passed to next step');
}
_currentStepIndex++;
computeDisplayableQuestions();
} else {
if (kDebugMode) {
debugPrint('Already at the last step. No action taken.');
}
}
}