ChessPiece constructor

ChessPiece({
  1. required PieceType type,
  2. required PieceColor color,
})

Implementation

ChessPiece({required this.type, required this.color});