FlightBooking constructor
FlightBooking({
- List<
BookedSlice> slices = const [], - FlightBookingCabinClassEnum? cabinClass,
- List<
Passenger> passengers = const [], - BookingTerms? terms,
- List<
BookedBaggage> includedBaggage = const [], - List<
SelectedService> selectedServices = const [], - int? totalDurationMinutes,
- int? totalStops,
Returns a new FlightBooking instance.
Implementation
FlightBooking({
this.slices = const [],
this.cabinClass,
this.passengers = const [],
this.terms,
this.includedBaggage = const [],
this.selectedServices = const [],
this.totalDurationMinutes,
this.totalStops,
});