FlightCarrier.fromJson constructor
FlightCarrier.fromJson(
- Map json_
Implementation
FlightCarrier.fromJson(core.Map json_)
: this(
airlineAllianceLogo: json_.containsKey('airlineAllianceLogo')
? Image.fromJson(json_['airlineAllianceLogo']
as core.Map<core.String, core.dynamic>)
: null,
airlineLogo: json_.containsKey('airlineLogo')
? Image.fromJson(
json_['airlineLogo'] as core.Map<core.String, core.dynamic>)
: null,
airlineName: json_.containsKey('airlineName')
? LocalizedString.fromJson(
json_['airlineName'] as core.Map<core.String, core.dynamic>)
: null,
carrierIataCode: json_.containsKey('carrierIataCode')
? json_['carrierIataCode'] as core.String
: null,
carrierIcaoCode: json_.containsKey('carrierIcaoCode')
? json_['carrierIcaoCode'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
wideAirlineLogo: json_.containsKey('wideAirlineLogo')
? Image.fromJson(json_['wideAirlineLogo']
as core.Map<core.String, core.dynamic>)
: null,
);