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