history property

List<String> history
getter/setter pair

Useful for generating PGN and other custom formats. Stores previous FEN states for operations like undo and more

Implementation

List<String> history = [];