Piece constructor

const Piece(
  1. BoardColor color,
  2. PieceType type
)

Implementation

const Piece(this.color, this.type);