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 (kind != null) 'kind': kind!,
      if (pickupMethod != null) 'pickupMethod': pickupMethod!,
      if (pickupSla != null) 'pickupSla': pickupSla!,
      if (price != null) 'price': price!,
      if (quantity != null) 'quantity': quantity!,
      if (storeCode != null) 'storeCode': storeCode!,
      if (targetCountry != null) 'targetCountry': targetCountry!,
      if (timestamp != null) 'timestamp': timestamp!,
    };