copyWith method
copy new instance of ScanProductModel.
Implementation
ScanProductModel copyWith({
int? itemCount,
String? itemValue,
}) {
return ScanProductModel(
itemCount: itemCount ?? this.itemCount,
itemValue: itemValue ?? this.itemValue,
);
}