toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cashbackForFutureUse != null)
    'cashbackForFutureUse': cashbackForFutureUse!,
  if (loyaltyPoints != null) 'loyaltyPoints': loyaltyPoints!,
  if (memberPriceEffectiveDate != null)
    'memberPriceEffectiveDate': memberPriceEffectiveDate!,
  if (price != null) 'price': price!,
  if (programLabel != null) 'programLabel': programLabel!,
  if (shippingLabel != null) 'shippingLabel': shippingLabel!,
  if (tierLabel != null) 'tierLabel': tierLabel!,
};