BoardState constructor
BoardState({})
Implementation
BoardState({
required this.board,
this.player = WHITE,
int? orientation,
this.lastFrom,
this.lastTo,
this.checkSquare,
}) {
this.orientation = orientation ?? player;
}