Piece constructor Null safety

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

Implementation

Piece(this.type, this.color);