goToStep method
Implementation
void goToStep(int step) {
if (step >= 0 && step < steps.length) {
_currentStep = step;
notifyListeners();
}
}
void goToStep(int step) {
if (step >= 0 && step < steps.length) {
_currentStep = step;
notifyListeners();
}
}