toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalImageLinks != null)
        'additionalImageLinks': additionalImageLinks!,
      if (adult != null) 'adult': adult!,
      if (ageGroup != null) 'ageGroup': ageGroup!,
      if (brand != null) 'brand': brand!,
      if (certifications != null) 'certifications': certifications!,
      if (color != null) 'color': color!,
      if (cppAdsRedirect != null) 'cppAdsRedirect': cppAdsRedirect!,
      if (cppLink != null) 'cppLink': cppLink!,
      if (cppMobileLink != null) 'cppMobileLink': cppMobileLink!,
      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 (excludedDestinations != null)
        'excludedDestinations': excludedDestinations!,
      if (expirationDate != null) 'expirationDate': expirationDate!,
      if (gender != null) 'gender': gender!,
      if (googleProductCategory != null)
        'googleProductCategory': googleProductCategory!,
      if (gtin != null) 'gtin': gtin!,
      if (headlineOfferCondition != null)
        'headlineOfferCondition': headlineOfferCondition!,
      if (headlineOfferInstallment != null)
        'headlineOfferInstallment': headlineOfferInstallment!,
      if (headlineOfferLink != null) 'headlineOfferLink': headlineOfferLink!,
      if (headlineOfferMobileLink != null)
        'headlineOfferMobileLink': headlineOfferMobileLink!,
      if (headlineOfferPrice != null)
        'headlineOfferPrice': headlineOfferPrice!,
      if (headlineOfferShippingPrice != null)
        'headlineOfferShippingPrice': headlineOfferShippingPrice!,
      if (headlineOfferSubscriptionCost != null)
        'headlineOfferSubscriptionCost': headlineOfferSubscriptionCost!,
      if (highPrice != null) 'highPrice': highPrice!,
      if (imageLink != null) 'imageLink': imageLink!,
      if (includedDestinations != null)
        'includedDestinations': includedDestinations!,
      if (isBundle != null) 'isBundle': isBundle!,
      if (itemGroupId != null) 'itemGroupId': itemGroupId!,
      if (lowPrice != null) 'lowPrice': lowPrice!,
      if (material != null) 'material': material!,
      if (mpn != null) 'mpn': mpn!,
      if (multipack != null) 'multipack': multipack!,
      if (numberOfOffers != null) 'numberOfOffers': numberOfOffers!,
      if (pattern != null) 'pattern': pattern!,
      if (pause != null) 'pause': pause!,
      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 (size != null) 'size': size!,
      if (sizeSystem != null) 'sizeSystem': sizeSystem!,
      if (sizeTypes != null) 'sizeTypes': sizeTypes!,
      if (title != null) 'title': title!,
    };