Discounts constructor

Discounts({
  1. String? name,
  2. String? id,
  3. UnitPrice? unitPrice,
  4. UnitPrice? totalPrice,
  5. int? quantity,
  6. String? priceType,
  7. double? discountPercentage,
})

Implementation

Discounts(
    {this.name,
    this.id,
    this.unitPrice,
    this.totalPrice,
    this.quantity,
    this.priceType,
    this.discountPercentage});