copyWith method
Implementation
Reciept copyWith(
{String? name,
String? discount,
num? resultPrice,
num? price,
num? quantity}) {
return Reciept(
name: name ?? this.name,
discount: discount ?? this.discount,
quantity: quantity ?? this.quantity,
resultPrice: resultPrice ?? this.resultPrice,
price: price ?? this.price,
);
}