goToMatchOfIndex method
Go to the match of the given index.
Implementation
Future<int> goToMatchOfIndex(int index) async {
if (index < 0 || index >= _matches.length) return -1;
_currentIndex = index;
await goToMatch(_matches[index]);
return index;
}