moveHistory property

List<Move> moveHistory

Get a list of moves played in the game so far.

Implementation

List<Move> get moveHistory =>
    history.where((e) => e.move != null).map((e) => e.move!).toList();