toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (confirmationCode != null) 'confirmationCode': confirmationCode!,
      if (eticketNumber != null) 'eticketNumber': eticketNumber!,
      if (frequentFlyerInfo != null) 'frequentFlyerInfo': frequentFlyerInfo!,
      if (kind != null) 'kind': kind!,
    };