AirportInfo.fromJson constructor

AirportInfo.fromJson(
  1. Map json_
)

Implementation

AirportInfo.fromJson(core.Map json_)
    : this(
        airportIataCode: json_.containsKey('airportIataCode')
            ? json_['airportIataCode'] as core.String
            : null,
        airportNameOverride: json_.containsKey('airportNameOverride')
            ? LocalizedString.fromJson(json_['airportNameOverride']
                as core.Map<core.String, core.dynamic>)
            : null,
        gate: json_.containsKey('gate') ? json_['gate'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        terminal: json_.containsKey('terminal')
            ? json_['terminal'] as core.String
            : null,
      );