prev method

void prev()

Implementation

void prev() {
  _currentIndex = _currentIndex - 1;
  if (_currentIndex < 0) {
    return;
  }

  var hole = _getHole();
  if (hole != null) {
    _tourState?.setHole(hole);
  }
  notifyListeners();
}