castlingMoves property

List<Move> castlingMoves

All moves that involve castling.

Implementation

List<Move> get castlingMoves => where((e) => e.castling).toList();