Results constructor

Results({
  1. required String id,
  2. required String name,
  3. required String slug,
  4. int? stockQuantity,
  5. String? sku,
  6. String? upc,
  7. required bool isActive,
  8. required bool isFeatured,
  9. String? description,
  10. String? shortDescription,
  11. required String type,
  12. required String price,
  13. String? specialPrice,
  14. required bool allowSubscription,
  15. required List<Categories> categories,
  16. required List tags,
  17. required List<ProductImages> productImages,
  18. String? weight,
  19. String? dimension,
  20. required List productOptions,
  21. required Store? store,
  22. String? purchaseNote,
  23. required List upsellProducts,
  24. required List crossSellProducts,
  25. required String externalUrl,
  26. required String externalButtonText,
  27. required FormattedPrices formattedPrices,
  28. required Additional additional,
  29. required String createdAt,
  30. required String updatedAt,
  31. required String url,
})

Implementation

Results({
  required this.id,
  required this.name,
  required this.slug,
  this.stockQuantity,
  this.sku,
  this.upc,
  required this.isActive,
  required this.isFeatured,
  this.description,
  this.shortDescription,
  required this.type,
  required this.price,
  this.specialPrice,
  required this.allowSubscription,
  required this.categories,
  required this.tags,
  required this.productImages,
  this.weight,
  this.dimension,
  required this.productOptions,
  required this.store,
  this.purchaseNote,
  required this.upsellProducts,
  required this.crossSellProducts,
  required this.externalUrl,
  required this.externalButtonText,
  required this.formattedPrices,
  required this.additional,
  required this.createdAt,
  required this.updatedAt,
  required this.url,
});