toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalImageLinks != null)
        'additionalImageLinks': additionalImageLinks!,
      if (additionalSizeType != null)
        'additionalSizeType': additionalSizeType!,
      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 (channel != null) 'channel': channel!,
      if (cloudExportAdditionalProperties != null)
        'cloudExportAdditionalProperties': cloudExportAdditionalProperties!,
      if (color != null) 'color': color!,
      if (condition != null) 'condition': condition!,
      if (contentLanguage != null) 'contentLanguage': contentLanguage!,
      if (costOfGoodsSold != null) 'costOfGoodsSold': costOfGoodsSold!,
      if (customAttributes != null) 'customAttributes': customAttributes!,
      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 (feedLabel != null) 'feedLabel': feedLabel!,
      if (freeShippingThreshold != null)
        'freeShippingThreshold': freeShippingThreshold!,
      if (gender != null) 'gender': gender!,
      if (googleProductCategory != null)
        'googleProductCategory': googleProductCategory!,
      if (gtin != null) 'gtin': gtin!,
      if (id != null) 'id': id!,
      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 (kind != null) 'kind': kind!,
      if (lifestyleImageLinks != null)
        'lifestyleImageLinks': lifestyleImageLinks!,
      if (link != null) 'link': link!,
      if (linkTemplate != null) 'linkTemplate': linkTemplate!,
      if (loyaltyProgram != null) 'loyaltyProgram': loyaltyProgram!,
      if (loyaltyPrograms != null) 'loyaltyPrograms': loyaltyPrograms!,
      if (material != null) 'material': material!,
      if (maxEnergyEfficiencyClass != null)
        'maxEnergyEfficiencyClass': maxEnergyEfficiencyClass!,
      if (maxHandlingTime != null) 'maxHandlingTime': maxHandlingTime!,
      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 (offerId != null) 'offerId': offerId!,
      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 (sizeSystem != null) 'sizeSystem': sizeSystem!,
      if (sizeType != null) 'sizeType': sizeType!,
      if (sizes != null) 'sizes': sizes!,
      if (source != null) 'source': source!,
      if (structuredDescription != null)
        'structuredDescription': structuredDescription!,
      if (structuredTitle != null) 'structuredTitle': structuredTitle!,
      if (subscriptionCost != null) 'subscriptionCost': subscriptionCost!,
      if (targetCountry != null) 'targetCountry': targetCountry!,
      if (taxCategory != null) 'taxCategory': taxCategory!,
      if (taxes != null) 'taxes': taxes!,
      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!,
    };