OfferPassenger constructor

OfferPassenger({
  1. required int passengerIndex,
  2. OfferPassengerTypeEnum? type,
  3. int? age,
  4. String? fareType,
  5. List<Baggage> includedBaggage = const [],
  6. List<AvailableService> availableServices = const [],
})

Returns a new OfferPassenger instance.

Implementation

OfferPassenger({
  required this.passengerIndex,
  this.type,
  this.age,
  this.fareType,
  this.includedBaggage = const [],
  this.availableServices = const [],
});