toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (boardingPolicy != null) 'boardingPolicy': boardingPolicy!,
if (kind != null) 'kind': kind!,
if (seatClassPolicy != null) 'seatClassPolicy': seatClassPolicy!,
};