PlayedMove constructor
Constructs new PlayedMove
object for move from
square to
square with
info about pieceOnLandingSquare.
Implementation
const PlayedMove(
Square from,
Square to,
this.pieceOnLandingSquare,
Piece? promotionTo,
) : super(from, to, promotionTo);