toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (airportIataCode != null) 'airportIataCode': airportIataCode!,
      if (airportNameOverride != null)
        'airportNameOverride': airportNameOverride!,
      if (gate != null) 'gate': gate!,
      if (kind != null) 'kind': kind!,
      if (terminal != null) 'terminal': terminal!,
    };