toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (additionalImageLinks != null)
    'additionalImageLinks': additionalImageLinks!,
  if (adsGrouping != null) 'adsGrouping': adsGrouping!,
  if (adsLabels != null) 'adsLabels': adsLabels!,
  if (adsRedirect != null) 'adsRedirect': adsRedirect!,
  if (adult != null) 'adult': adult!,
  if (ageGroup != null) 'ageGroup': ageGroup!,
  if (autoPricingMinPrice != null)
    'autoPricingMinPrice': autoPricingMinPrice!,
  if (availability != null) 'availability': availability!,
  if (availabilityDate != null) 'availabilityDate': availabilityDate!,
  if (brand != null) 'brand': brand!,
  if (canonicalLink != null) 'canonicalLink': canonicalLink!,
  if (certifications != null) 'certifications': certifications!,
  if (cloudExportAdditionalProperties != null)
    'cloudExportAdditionalProperties': cloudExportAdditionalProperties!,
  if (color != null) 'color': color!,
  if (condition != null) 'condition': condition!,
  if (costOfGoodsSold != null) 'costOfGoodsSold': costOfGoodsSold!,
  if (customLabel0 != null) 'customLabel0': customLabel0!,
  if (customLabel1 != null) 'customLabel1': customLabel1!,
  if (customLabel2 != null) 'customLabel2': customLabel2!,
  if (customLabel3 != null) 'customLabel3': customLabel3!,
  if (customLabel4 != null) 'customLabel4': customLabel4!,
  if (description != null) 'description': description!,
  if (disclosureDate != null) 'disclosureDate': disclosureDate!,
  if (displayAdsId != null) 'displayAdsId': displayAdsId!,
  if (displayAdsLink != null) 'displayAdsLink': displayAdsLink!,
  if (displayAdsSimilarIds != null)
    'displayAdsSimilarIds': displayAdsSimilarIds!,
  if (displayAdsTitle != null) 'displayAdsTitle': displayAdsTitle!,
  if (displayAdsValue != null) 'displayAdsValue': displayAdsValue!,
  if (energyEfficiencyClass != null)
    'energyEfficiencyClass': energyEfficiencyClass!,
  if (excludedDestinations != null)
    'excludedDestinations': excludedDestinations!,
  if (expirationDate != null) 'expirationDate': expirationDate!,
  if (externalSellerId != null) 'externalSellerId': externalSellerId!,
  if (freeShippingThreshold != null)
    'freeShippingThreshold': freeShippingThreshold!,
  if (gender != null) 'gender': gender!,
  if (googleProductCategory != null)
    'googleProductCategory': googleProductCategory!,
  if (gtins != null) 'gtins': gtins!,
  if (identifierExists != null) 'identifierExists': identifierExists!,
  if (imageLink != null) 'imageLink': imageLink!,
  if (includedDestinations != null)
    'includedDestinations': includedDestinations!,
  if (installment != null) 'installment': installment!,
  if (isBundle != null) 'isBundle': isBundle!,
  if (itemGroupId != null) 'itemGroupId': itemGroupId!,
  if (lifestyleImageLinks != null)
    'lifestyleImageLinks': lifestyleImageLinks!,
  if (link != null) 'link': link!,
  if (linkTemplate != null) 'linkTemplate': linkTemplate!,
  if (loyaltyPoints != null) 'loyaltyPoints': loyaltyPoints!,
  if (loyaltyPrograms != null) 'loyaltyPrograms': loyaltyPrograms!,
  if (material != null) 'material': material!,
  if (maxEnergyEfficiencyClass != null)
    'maxEnergyEfficiencyClass': maxEnergyEfficiencyClass!,
  if (maxHandlingTime != null) 'maxHandlingTime': maxHandlingTime!,
  if (maximumRetailPrice != null) 'maximumRetailPrice': maximumRetailPrice!,
  if (minEnergyEfficiencyClass != null)
    'minEnergyEfficiencyClass': minEnergyEfficiencyClass!,
  if (minHandlingTime != null) 'minHandlingTime': minHandlingTime!,
  if (mobileLink != null) 'mobileLink': mobileLink!,
  if (mobileLinkTemplate != null) 'mobileLinkTemplate': mobileLinkTemplate!,
  if (mpn != null) 'mpn': mpn!,
  if (multipack != null) 'multipack': multipack!,
  if (pattern != null) 'pattern': pattern!,
  if (pause != null) 'pause': pause!,
  if (pickupMethod != null) 'pickupMethod': pickupMethod!,
  if (pickupSla != null) 'pickupSla': pickupSla!,
  if (price != null) 'price': price!,
  if (productDetails != null) 'productDetails': productDetails!,
  if (productHeight != null) 'productHeight': productHeight!,
  if (productHighlights != null) 'productHighlights': productHighlights!,
  if (productLength != null) 'productLength': productLength!,
  if (productTypes != null) 'productTypes': productTypes!,
  if (productWeight != null) 'productWeight': productWeight!,
  if (productWidth != null) 'productWidth': productWidth!,
  if (promotionIds != null) 'promotionIds': promotionIds!,
  if (salePrice != null) 'salePrice': salePrice!,
  if (salePriceEffectiveDate != null)
    'salePriceEffectiveDate': salePriceEffectiveDate!,
  if (sellOnGoogleQuantity != null)
    'sellOnGoogleQuantity': sellOnGoogleQuantity!,
  if (shipping != null) 'shipping': shipping!,
  if (shippingHeight != null) 'shippingHeight': shippingHeight!,
  if (shippingLabel != null) 'shippingLabel': shippingLabel!,
  if (shippingLength != null) 'shippingLength': shippingLength!,
  if (shippingWeight != null) 'shippingWeight': shippingWeight!,
  if (shippingWidth != null) 'shippingWidth': shippingWidth!,
  if (shoppingAdsExcludedCountries != null)
    'shoppingAdsExcludedCountries': shoppingAdsExcludedCountries!,
  if (size != null) 'size': size!,
  if (sizeSystem != null) 'sizeSystem': sizeSystem!,
  if (sizeTypes != null) 'sizeTypes': sizeTypes!,
  if (structuredDescription != null)
    'structuredDescription': structuredDescription!,
  if (structuredTitle != null) 'structuredTitle': structuredTitle!,
  if (subscriptionCost != null) 'subscriptionCost': subscriptionCost!,
  if (sustainabilityIncentives != null)
    'sustainabilityIncentives': sustainabilityIncentives!,
  if (title != null) 'title': title!,
  if (transitTimeLabel != null) 'transitTimeLabel': transitTimeLabel!,
  if (unitPricingBaseMeasure != null)
    'unitPricingBaseMeasure': unitPricingBaseMeasure!,
  if (unitPricingMeasure != null) 'unitPricingMeasure': unitPricingMeasure!,
  if (virtualModelLink != null) 'virtualModelLink': virtualModelLink!,
};