whiteTakenPieces property

List<ChessPiece> whiteTakenPieces
final

Captured/taken piece piles.

These are derived from the current board position (based on FEN history) so they always stay consistent with undo/redo.

Implementation

final List<ChessPiece> whiteTakenPieces = [];