FrequentFlyerInfo.fromJson constructor

FrequentFlyerInfo.fromJson(
  1. Map json_
)

Implementation

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