PromoCodeDTO constructor

PromoCodeDTO({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. bool? isActive,
  5. bool? isDeleted,
  6. String? code,
  7. int? limit,
  8. int? used,
  9. int? amount,
  10. String? amountType,
  11. String? type,
  12. List<ProductDTO>? products,
  13. List<CategoryDTO>? categories,
})

Implementation

PromoCodeDTO(
    {super.id,
    super.createdAt,
    super.updatedAt,
    super.isActive,
    super.isDeleted,
    this.code,
    this.limit,
    this.used,
    this.amount,
    this.amountType,
    this.type,
    this.products,
    this.categories});