getMoveAt method

HistoryMove? getMoveAt(
  1. int index
)

Get move at specific index

Implementation

HistoryMove? getMoveAt(int index) {
  if (index < 0 || index >= _history.length) return null;
  return _history[index];
}