goToStep method

void goToStep(
  1. DataleonFlowStep step
)

Implementation

void goToStep(DataleonFlowStep step) {
  final index = _steps.indexOf(step);
  if (index == -1) {
    return;
  }

  _currentIndex = index;
  notifyListeners();
}