toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (eventTicketClasses != null)
        'eventTicketClasses': eventTicketClasses!,
      if (eventTicketObjects != null)
        'eventTicketObjects': eventTicketObjects!,
      if (flightClasses != null) 'flightClasses': flightClasses!,
      if (flightObjects != null) 'flightObjects': flightObjects!,
      if (giftCardClasses != null) 'giftCardClasses': giftCardClasses!,
      if (giftCardObjects != null) 'giftCardObjects': giftCardObjects!,
      if (loyaltyClasses != null) 'loyaltyClasses': loyaltyClasses!,
      if (loyaltyObjects != null) 'loyaltyObjects': loyaltyObjects!,
      if (offerClasses != null) 'offerClasses': offerClasses!,
      if (offerObjects != null) 'offerObjects': offerObjects!,
      if (transitClasses != null) 'transitClasses': transitClasses!,
      if (transitObjects != null) 'transitObjects': transitObjects!,
    };