FrequentFlyerInfo.fromJson constructor

FrequentFlyerInfo.fromJson(
  1. Map json_
)

Implementation

FrequentFlyerInfo.fromJson(core.Map json_)
  : this(
      frequentFlyerNumber: json_['frequentFlyerNumber'] as core.String?,
      frequentFlyerProgramName:
          json_.containsKey('frequentFlyerProgramName')
              ? LocalizedString.fromJson(
                json_['frequentFlyerProgramName']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      kind: json_['kind'] as core.String?,
    );