getAt method

int getAt({
  1. required int row,
  2. required int col,
})

Returns the value at the specified row and col on the Sudoku board.

If the row or column is out of range, a RangeError is thrown.

Implementation

int getAt({required int row, required int col}) {
  _checkRowCol(row, col);
  return _values[row][col];
}