copyWith method
Implementation
Item copyWith({
String? label,
String? symbol,
String? id,
bool? boxTwo,
int? color,
}) {
return Item(
label: label ?? this.label,
symbol: symbol ?? this.symbol,
id: id ?? this.id,
boxTwo: boxTwo ?? this.boxTwo,
color: color ?? this.color,
);
}