ProductResponse constructor
const
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,
})
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;