toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'iataCode'] = this.iataCode;
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.logoUrl != null) {
json[r'logoUrl'] = this.logoUrl;
} else {
json[r'logoUrl'] = null;
}
return json;
}