Commerce constructor

Commerce(
  1. int regularPrice, {
  2. int? discountPrice,
  3. int? fixedDiscountPrice,
  4. int? discountRate,
  5. String? productName,
  6. String? currencyUnit,
  7. int? currencyUnitPosition,
})

Implementation

Commerce(this.regularPrice,
    {this.discountPrice,
    this.fixedDiscountPrice,
    this.discountRate,
    this.productName,
    this.currencyUnit,
    this.currencyUnitPosition});