ROOKS property Null safety

Map<Color, List> ROOKS
final

Implementation

static final Map<Color, List> ROOKS = {
  WHITE: [
    {'square': SQUARES_A1, 'flag': BITS_QSIDE_CASTLE},
    {'square': SQUARES_H1, 'flag': BITS_KSIDE_CASTLE}
  ],
  BLACK: [
    {'square': SQUARES_A8, 'flag': BITS_QSIDE_CASTLE},
    {'square': SQUARES_H8, 'flag': BITS_KSIDE_CASTLE}
  ]
};