FlightSearchFilters constructor

FlightSearchFilters({
  1. int? maxStops,
  2. List<String>? preferredAirlines = const [],
  3. List<String>? excludedAirlines = const [],
  4. bool? refundableOnly,
  5. num? maxPrice,
})

Returns a new FlightSearchFilters instance.

Implementation

FlightSearchFilters({
  this.maxStops,
  this.preferredAirlines = const [],
  this.excludedAirlines = const [],
  this.refundableOnly,
  this.maxPrice,
});