Piece constructor

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

Implementation

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