SegmentFare constructor

SegmentFare({
  1. int? sliceIndex,
  2. int? segmentIndex,
  3. SegmentFareCabinClassEnum? cabinClass,
  4. List<Baggage> baggage = const [],
})

Returns a new SegmentFare instance.

Implementation

SegmentFare({
  this.sliceIndex,
  this.segmentIndex,
  this.cabinClass,
  this.baggage = const [],
});