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 (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 (targetCountry != null) 'targetCountry': targetCountry!,
      if (title != null) 'title': title!,
      if (variantAttributes != null) 'variantAttributes': variantAttributes!,
    };