ProductResponse constructor

const ProductResponse({
  1. String? art,
  2. @JsonKey(name: 'art_sets') String? artSets,
  3. String? barcode,
  4. @JsonKey(name: 'base_price') double? basePrice,
  5. bool? bestseller,
  6. String? brand,
  7. @JsonKey(name: 'brand_id') int? brandId,
  8. @JsonKey(name: 'brand_image') String? brandImage,
  9. @JsonKey(name: 'brand_name') String? brandName,
  10. String? country,
  11. String? calories,
  12. @JsonKey(name: 'description_short') String? descriptionShort,
  13. int? discount,
  14. @JsonKey(name: 'expiration_date') String? expirationDate,
  15. String? group,
  16. String? image,
  17. @JsonKey(name: 'image_link') String? imageLink,
  18. List<Image>? images,
  19. String? importer,
  20. @JsonKey(name: 'in_wishlist') bool? inWishlist,
  21. String? ingredients,
  22. @JsonKey(name: 'is_hidden') bool? isHidden,
  23. String? izgotov,
  24. @JsonKey(name: 'manufacture_date') String? manufactureDate,
  25. @JsonKey(name: 'min_order') int? minOrder,
  26. String? model,
  27. bool? multiple,
  28. String? name,
  29. @JsonKey(name: 'new_product') bool? newProduct,
  30. String? nominal,
  31. @JsonKey(name: 'nominal_name') String? nominalName,
  32. String? nutrition,
  33. @JsonKey(name: 'package_quantity') int? packageQuantity,
  34. String? packer,
  35. @JsonKey(name: 'price_vat') double? priceVat,
  36. List<Price>? prices,
  37. @JsonKey(name: 'product_consists') String? productConsists,
  38. @JsonKey(name: 'promo_end_date') String? promoEndDate,
  39. @JsonKey(name: 'promo_start_date') String? promoStartDate,
  40. bool? promotion,
  41. int? quantity,
  42. @JsonKey(name: 'quantity_in_cart') int? quantityInCart,
  43. @JsonKey(name: 'quantity_inc') int? quantityInc,
  44. @JsonKey(name: 'search_keywords') String? searchKeywords,
  45. @JsonKey(name: 'seo_description') String? seoDescription,
  46. @JsonKey(name: 'seo_keywords') String? seoKeywords,
  47. @JsonKey(name: 'seo_title') String? seoTitle,
  48. @JsonKey(name: 'short_code') String? shortCode,
  49. @JsonKey(name: 'show_price_per_kg') bool? showPricePerKg,
  50. @JsonKey(name: 'single_price') bool? singlePrice,
  51. String? size,
  52. @JsonKey(name: 'special_offer') bool? specialOffer,
  53. String? status,
  54. @JsonKey(name: 'storage_conditions') String? storageConditions,
  55. @JsonKey(name: 'technical_conditions_act') String? technicalConditionsAct,
  56. String? text,
  57. String? uom,
  58. @JsonKey(name: 'user_id') int? userId,
  59. int? vat,
  60. int? weight,
})

Implementation

const factory ProductResponse({
  String? art,
  @JsonKey(name: 'art_sets') String? artSets,
  String? barcode,
  @JsonKey(name: 'base_price') double? basePrice,
  bool? bestseller,
  String? brand,
  @JsonKey(name: 'brand_id') int? brandId,
  @JsonKey(name: 'brand_image') String? brandImage,
  @JsonKey(name: 'brand_name') String? brandName,
  String? country,
  String? calories,
  @JsonKey(name: 'description_short') String? descriptionShort,
  int? discount,
  @JsonKey(name: 'expiration_date') String? expirationDate,
  String? group,
  String? image,
  @JsonKey(name: 'image_link') String? imageLink,
  List<Image>? images,
  String? importer,
  @JsonKey(name: 'in_wishlist') bool? inWishlist,
  String? ingredients,
  @JsonKey(name: 'is_hidden') bool? isHidden,
  String? izgotov,
  @JsonKey(name: 'manufacture_date') String? manufactureDate,
  @JsonKey(name: 'min_order') int? minOrder,
  String? model,
  bool? multiple,
  String? name,
  @JsonKey(name: 'new_product') bool? newProduct,
  String? nominal,
  @JsonKey(name: 'nominal_name') String? nominalName,
  String? nutrition,
  @JsonKey(name: 'package_quantity') int? packageQuantity,
  String? packer,
  @JsonKey(name: 'price_vat') double? priceVat,
  List<Price>? prices,
  @JsonKey(name: 'product_consists') String? productConsists,
  @JsonKey(name: 'promo_end_date') String? promoEndDate,
  @JsonKey(name: 'promo_start_date') String? promoStartDate,
  bool? promotion,
  int? quantity,
  @JsonKey(name: 'quantity_in_cart') int? quantityInCart,
  @JsonKey(name: 'quantity_inc') int? quantityInc,
  @JsonKey(name: 'search_keywords') String? searchKeywords,
  @JsonKey(name: 'seo_description') String? seoDescription,
  @JsonKey(name: 'seo_keywords') String? seoKeywords,
  @JsonKey(name: 'seo_title') String? seoTitle,
  @JsonKey(name: 'short_code') String? shortCode,
  @JsonKey(name: 'show_price_per_kg') bool? showPricePerKg,
  @JsonKey(name: 'single_price') bool? singlePrice,
  String? size,
  @JsonKey(name: 'special_offer') bool? specialOffer,
  String? status,
  @JsonKey(name: 'storage_conditions') String? storageConditions,
  @JsonKey(name: 'technical_conditions_act') String? technicalConditionsAct,
  String? text,
  String? uom,
  @JsonKey(name: 'user_id') int? userId,
  int? vat,
  int? weight,
}) = _ProductResponse;