AvailableService constructor

AvailableService({
  1. required String id,
  2. required String type,
  3. required Money price,
  4. List<int> passengerIndexes = const [],
  5. List<SegmentPosition> segments = const [],
  6. int? maxQuantity,
  7. BaggageLimits? baggage,
})

Returns a new AvailableService instance.

Implementation

AvailableService({
  required this.id,
  required this.type,
  required this.price,
  this.passengerIndexes = const [],
  this.segments = const [],
  this.maxQuantity,
  this.baggage,
});