toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (airlineAllianceLogo != null)
        'airlineAllianceLogo': airlineAllianceLogo!,
      if (airlineLogo != null) 'airlineLogo': airlineLogo!,
      if (airlineName != null) 'airlineName': airlineName!,
      if (carrierIataCode != null) 'carrierIataCode': carrierIataCode!,
      if (carrierIcaoCode != null) 'carrierIcaoCode': carrierIcaoCode!,
      if (kind != null) 'kind': kind!,
      if (wideAirlineLogo != null) 'wideAirlineLogo': wideAirlineLogo!,
    };