toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'type'] = this.type;
if (this.seatDesignator != null) {
json[r'seatDesignator'] = this.seatDesignator;
} else {
json[r'seatDesignator'] = null;
}
if (this.label != null) {
json[r'label'] = this.label;
} else {
json[r'label'] = null;
}
if (this.isAvailable != null) {
json[r'isAvailable'] = this.isAvailable;
} else {
json[r'isAvailable'] = null;
}
json[r'characteristics'] = this.characteristics;
json[r'availableFor'] = this.availableFor;
return json;
}