getEntry method

StateEntry getEntry(
  1. int rank,
  2. int file
)

Implementation

StateEntry getEntry(int rank, int file) {
  return board[rank-1]![file-1]!;
}