Discount constructor
Discount({
- String? name,
- String? id,
- TotalPriceClass? unitPrice,
- TotalPriceClass? totalPrice,
- int? quantity,
- dynamic priceType,
- int? discountPercentage,
Implementation
Discount({
this.name,
this.id,
this.unitPrice,
this.totalPrice,
this.quantity,
this.priceType,
this.discountPercentage,
});