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