BoardState constructor
const
BoardState({})
Implementation
const BoardState({
required this.board,
this.turn = Squares.white,
int? orientation,
this.lastFrom,
this.lastTo,
this.checkSquare,
}) : orientation = orientation ?? turn;