PIECE_TYPES constant

Map<String, PieceType> const PIECE_TYPES

Implementation

static const Map<String, PieceType> PIECE_TYPES = {
  'p': PieceType.PAWN,
  'n': PieceType.KNIGHT,
  'b': PieceType.BISHOP,
  'r': PieceType.ROOK,
  'q': PieceType.QUEEN,
  'k': PieceType.KING
};