toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (brand != null) 'brand': brand!,
      if (condition != null) 'condition': condition!,
      if (contentLanguage != null) 'contentLanguage': contentLanguage!,
      if (fees != null) 'fees': fees!,
      if (gtin != null) 'gtin': gtin!,
      if (id != null) 'id': id!,
      if (imageLink != null) 'imageLink': imageLink!,
      if (itemGroupId != null) 'itemGroupId': itemGroupId!,
      if (mpn != null) 'mpn': mpn!,
      if (offerId != null) 'offerId': offerId!,
      if (price != null) 'price': price!,
      if (shownImage != null) 'shownImage': shownImage!,
      if (targetCountry != null) 'targetCountry': targetCountry!,
      if (title != null) 'title': title!,
      if (variantAttributes != null) 'variantAttributes': variantAttributes!,
    };