Data constructor

Data({
  1. Pricing? pricing,
  2. Inventory? inventory,
  3. bool? extra,
  4. int? id,
  5. String? title,
  6. String? slug,
  7. String? code,
  8. dynamic gender,
  9. String? description,
  10. String? createdAt,
  11. dynamic specifications,
  12. String? updatedAt,
  13. dynamic freeDelivery,
  14. bool? exemptVat,
  15. bool? hasVariants,
  16. String? checkoutMessage,
  17. String? demoLink,
  18. String? demoLinkType,
  19. dynamic ageGroup,
  20. dynamic seoUrl,
  21. dynamic shortUrl,
  22. String? seoDesc,
  23. dynamic seoTags,
  24. String? seoTitle,
  25. dynamic tags,
  26. int? shippingDurationMax,
  27. String? shippingDurationMetric,
  28. dynamic shippingRequired,
  29. dynamic shippingDurationMin,
  30. dynamic weight,
  31. dynamic price,
  32. int? qty,
  33. String? weightUnit,
  34. String? status,
  35. int? mainImageId,
  36. bool? hasExpiry,
  37. dynamic expiryDate,
  38. dynamic manufacturingDate,
  39. String? productTypeCode,
  40. int? maxBillingCount,
  41. dynamic billingCycle,
  42. int? categoryId,
  43. int? brandId,
  44. dynamic warehouseId,
  45. dynamic supplierId,
  46. List<Image>? images,
  47. List<Variant>? variants,
  48. List<VariantCombination>? variantCombinations,
  49. bool? isDefault,
  50. dynamic shareLinks,
  51. dynamic relatedProducts,
  52. dynamic productType,
  53. dynamic category,
  54. dynamic brand,
  55. dynamic supplier,
  56. List? collections,
  57. List? salesChannels,
  58. List? downloadables,
  59. dynamic warehouse,
  60. String? mediumImageUrl,
  61. String? thumbnailImageUrl,
})

Implementation

Data({
  this.pricing,
  this.inventory,
  this.extra,
  this.id,
  this.title,
  this.slug,
  this.code,
  this.gender,
  this.description,
  this.createdAt,
  this.specifications,
  this.updatedAt,
  this.freeDelivery,
  this.exemptVat,
  this.hasVariants,
  this.checkoutMessage,
  this.demoLink,
  this.demoLinkType,
  this.ageGroup,
  this.seoUrl,
  this.shortUrl,
  this.seoDesc,
  this.seoTags,
  this.seoTitle,
  this.tags,
  this.shippingDurationMax,
  this.shippingDurationMetric,
  this.shippingRequired,
  this.shippingDurationMin,
  this.weight,
  this.price,
  this.qty,
  this.weightUnit,
  this.status,
  this.mainImageId,
  this.hasExpiry,
  this.expiryDate,
  this.manufacturingDate,
  this.productTypeCode,
  this.maxBillingCount,
  this.billingCycle,
  this.categoryId,
  this.brandId,
  this.warehouseId,
  this.supplierId,
  this.images,
  this.variants,
  this.variantCombinations,
  this.isDefault,
  this.shareLinks,
  this.relatedProducts,
  this.productType,
  this.category,
  this.brand,
  this.supplier,
  this.collections,
  this.salesChannels,
  this.downloadables,
  this.warehouse,
  this.mediumImageUrl,
  this.thumbnailImageUrl,
});