FlightOfferDetails constructor

FlightOfferDetails({
  1. DateTime? expiresAt,
  2. FlightOfferDetailsCabinClassEnum? cabinClass,
  3. Fare? fare,
  4. BookingTerms? terms,
  5. List<Baggage> includedBaggage = const [],
  6. PriceBreakdown? priceBreakdown,
  7. List<PassengerPricing> passengerPricing = const [],
  8. List<OfferPassenger> offerPassengers = const [],
  9. List<AvailableService> availableServices = const [],
  10. bool? identityDocumentsRequired,
  11. List<String> supportedDocumentTypes = const [],
  12. List<SegmentFare> segments = const [],
})

Returns a new FlightOfferDetails instance.

Implementation

FlightOfferDetails({
  this.expiresAt,
  this.cabinClass,
  this.fare,
  this.terms,
  this.includedBaggage = const [],
  this.priceBreakdown,
  this.passengerPricing = const [],
  this.offerPassengers = const [],
  this.availableServices = const [],
  this.identityDocumentsRequired,
  this.supportedDocumentTypes = const [],
  this.segments = const [],
});