history property

List<HistoryItem> history
getter/setter pair

List of the nodes and choices already done by the player.

Usually contains just text but can also include nodes with images.

Implementation

late List<HistoryItem> history = List.empty(growable: true);