next method

void next()

Implementation

void next() {
  _currentIndex = _currentIndex + 1;
  if (_currentIndex > _steps.length) {
    return;
  }
  var hole = _getHole();
  if (hole != null) {
    _tourState?.setHole(hole);
  }
  notifyListeners();
}