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 (price != null) 'price': price!,
      if (programLabel != null) 'programLabel': programLabel!,
      if (tierLabel != null) 'tierLabel': tierLabel!,
    };