ReservationInfo.fromJson constructor

ReservationInfo.fromJson(
  1. Map json_
)

Implementation

ReservationInfo.fromJson(core.Map json_)
    : this(
        confirmationCode: json_.containsKey('confirmationCode')
            ? json_['confirmationCode'] as core.String
            : null,
        eticketNumber: json_.containsKey('eticketNumber')
            ? json_['eticketNumber'] as core.String
            : null,
        frequentFlyerInfo: json_.containsKey('frequentFlyerInfo')
            ? FrequentFlyerInfo.fromJson(json_['frequentFlyerInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );