toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (aggregatedReportingContextStatus != null)
    'aggregatedReportingContextStatus': aggregatedReportingContextStatus!,
  if (availability != null) 'availability': availability!,
  if (brand != null) 'brand': brand!,
  if (categoryL1 != null) 'categoryL1': categoryL1!,
  if (categoryL2 != null) 'categoryL2': categoryL2!,
  if (categoryL3 != null) 'categoryL3': categoryL3!,
  if (categoryL4 != null) 'categoryL4': categoryL4!,
  if (categoryL5 != null) 'categoryL5': categoryL5!,
  if (channel != null) 'channel': channel!,
  if (clickPotential != null) 'clickPotential': clickPotential!,
  if (clickPotentialRank != null) 'clickPotentialRank': clickPotentialRank!,
  if (condition != null) 'condition': condition!,
  if (creationTime != null) 'creationTime': creationTime!,
  if (expirationDate != null) 'expirationDate': expirationDate!,
  if (feedLabel != null) 'feedLabel': feedLabel!,
  if (gtin != null) 'gtin': gtin!,
  if (id != null) 'id': id!,
  if (itemGroupId != null) 'itemGroupId': itemGroupId!,
  if (itemIssues != null) 'itemIssues': itemIssues!,
  if (languageCode != null) 'languageCode': languageCode!,
  if (offerId != null) 'offerId': offerId!,
  if (price != null) 'price': price!,
  if (productTypeL1 != null) 'productTypeL1': productTypeL1!,
  if (productTypeL2 != null) 'productTypeL2': productTypeL2!,
  if (productTypeL3 != null) 'productTypeL3': productTypeL3!,
  if (productTypeL4 != null) 'productTypeL4': productTypeL4!,
  if (productTypeL5 != null) 'productTypeL5': productTypeL5!,
  if (shippingLabel != null) 'shippingLabel': shippingLabel!,
  if (thumbnailLink != null) 'thumbnailLink': thumbnailLink!,
  if (title != null) 'title': title!,
};