get method

Piece? get(
  1. String square
)

Returns the piece at the square in question or null if there is none

Implementation

Piece? get(String square) {
  return board[SQUARES[square]];
}