toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (business != null) 'business': business!,
      if (economy != null) 'economy': economy!,
      if (first != null) 'first': first!,
      if (premiumEconomy != null) 'premiumEconomy': premiumEconomy!,
    };