toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contentLanguage != null) 'contentLanguage': contentLanguage!,
      if (gtin != null) 'gtin': gtin!,
      if (itemId != null) 'itemId': itemId!,
      if (price != null) 'price': price!,
      if (quantity != null) 'quantity': quantity!,
      if (saleId != null) 'saleId': saleId!,
      if (storeCode != null) 'storeCode': storeCode!,
      if (targetCountry != null) 'targetCountry': targetCountry!,
      if (timestamp != null) 'timestamp': timestamp!,
    };