copyWith method
Implementation
Product copyWith({
String? name,
int? quantity,
int? unitAmount,
}) =>
Product(
name: name ?? this.name,
quantity: quantity ?? this.quantity,
unitAmount: unitAmount ?? this.unitAmount,
);