next method

void next()

Implementation

void next() {
  if (_currentIndex < steps.length - 1) {
    _currentIndex++;
  }
}