ProductDTO constructor

ProductDTO({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. bool? isActive,
  5. bool? isDeleted,
  6. bool? showInList,
  7. bool? showInHot,
  8. bool? showInHome,
  9. int? sortIndex,
  10. String? modelCode,
  11. String? hsCode,
  12. Detail? detail,
  13. List<ProductPriceDTO>? prices,
  14. List<ProductPhotoHolder>? photos,
  15. List<ProductDTO>? sides,
  16. List<StockDTO>? stocks,
  17. List<StockDTO>? inStocks,
  18. List<StockDTO>? outStocks,
  19. List<CatalogDTO>? catalogs,
  20. String? variant1,
  21. String? variant2,
  22. List<FeatureDTO>? features,
  23. List<TagDTO>? tags,
  24. Group? group,
  25. String? type,
  26. int? highlightRate,
  27. bool? useStock,
  28. List<ProductDTO>? products,
  29. List<CategoryDTO>? categories,
  30. BrandDTO? brand,
})

Implementation

ProductDTO({
  super.id,
  super.createdAt,
  super.updatedAt,
  super.isActive,
  super.isDeleted,
  this.showInList,
  this.showInHot,
  this.showInHome,
  this.sortIndex,
  this.modelCode,
  this.hsCode,
  this.detail,
  this.prices,
  this.photos,
  this.sides,
  this.stocks,
  this.inStocks,
  this.outStocks,
  this.catalogs,
  this.variant1,
  this.variant2,
  this.features,
  this.tags,
  this.group,
  this.type,
  this.highlightRate,
  this.useStock,
  this.products,
  this.categories,
  this.brand,
});