copyWith method
Implementation
Cell copyWith({
int? value,
bool? matched,
bool? selected,
CellFeedback? feedback,
}) {
return Cell(
index: index,
row: row,
col: col,
value: value ?? this.value,
matched: matched ?? this.matched,
selected: selected ?? this.selected,
feedback: feedback ?? this.feedback,
);
}