copyWith method
Implementation
ProductStatusData copyWith({
String? name,
String? displayMfgServingSize,
String? displayNetWeight,
double? natfirstScore,
double? natfirstRating,
String? iconFileName,
bool? isFavorite,
int? rewardPoints,
bool? isSuspended,
}) =>
ProductStatusData(
name: name ?? this.name,
displayMfgServingSize: displayMfgServingSize ?? this.displayMfgServingSize,
displayNetWeight: displayNetWeight ?? this.displayNetWeight,
natfirstScore: natfirstScore ?? this.natfirstScore,
natfirstRating: natfirstRating ?? this.natfirstRating,
iconFileName: iconFileName ?? this.iconFileName,
isFavorite: isFavorite ?? this.isFavorite,
rewardPoints: rewardPoints ?? this.rewardPoints,
isSuspended: isSuspended ?? this.isSuspended,
);