CampaignDTO constructor

CampaignDTO({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. bool? isActive,
  5. bool? isDeleted,
  6. String? title,
  7. int? highlightRate,
  8. String? slug,
  9. String? link,
  10. String? description,
  11. String? discountStartDate,
  12. String? discountEndDate,
  13. int? limit,
  14. int? used,
  15. bool? showOnMain,
  16. String? type,
  17. String? priceType,
  18. int? productCount,
  19. int? freeProductCount,
  20. List<ProductDTO>? products,
  21. List<CategoryDTO>? categories,
  22. List<BrandDTO>? brands,
  23. List<TagDTO>? tags,
  24. PhotoDTO? photo,
})

Implementation

CampaignDTO(
    {super.id,
    super.createdAt,
    super.updatedAt,
    super.isActive,
    super.isDeleted,
    this.title,
    this.highlightRate,
    this.slug,
    this.link,
    this.description,
    this.discountStartDate,
    this.discountEndDate,
    this.limit,
    this.used,
    this.showOnMain,
    this.type,
    this.priceType,
    this.productCount,
    this.freeProductCount,
    this.products,
    this.categories,
    this.brands,
    this.tags,
    this.photo});