FlightBooking constructor

FlightBooking({
  1. List<BookedSlice> slices = const [],
  2. FlightBookingCabinClassEnum? cabinClass,
  3. List<Passenger> passengers = const [],
  4. BookingTerms? terms,
  5. List<BookedBaggage> includedBaggage = const [],
  6. List<SelectedService> selectedServices = const [],
  7. int? totalDurationMinutes,
  8. 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,
});