SquareModel constructor Null safety

SquareModel(
  1. {Piece? squarePiece,
  2. required String squareName}
)

Implementation

SquareModel({
  this.squarePiece,
  required this.squareName,
});