toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (automatedDiscounts != null) 'automatedDiscounts': automatedDiscounts!,
  if (contentLanguage != null) 'contentLanguage': contentLanguage!,
  if (customAttributes != null) 'customAttributes': customAttributes!,
  if (dataSource != null) 'dataSource': dataSource!,
  if (feedLabel != null) 'feedLabel': feedLabel!,
  if (legacyLocal != null) 'legacyLocal': legacyLocal!,
  if (name != null) 'name': name!,
  if (offerId != null) 'offerId': offerId!,
  if (productAttributes != null) 'productAttributes': productAttributes!,
  if (productStatus != null) 'productStatus': productStatus!,
  if (versionNumber != null) 'versionNumber': versionNumber!,
};