toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  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 (featuredProduct != null) 'featuredProduct': featuredProduct!,
  if (headline != null) 'headline': headline!,
  if (id != null) 'id': id!,
  if (imageLink != null) 'imageLink': imageLink!,
  if (language != null) 'language': language!,
  if (link != null) 'link': link!,
  if (mobileLink != null) 'mobileLink': mobileLink!,
  if (productCountry != null) 'productCountry': productCountry!,
};