goToPrevMatch method
Go to the previous match.
Implementation
Future<int> goToPrevMatch() async {
if (_currentIndex == null) return await goToMatchOfIndex(_matches.length - 1);
if (_currentIndex! > 0) {
_currentIndex = _currentIndex! - 1;
return await goToMatchOfIndex(_currentIndex!);
}
return -1;
}