PlaceFilter class - search library - Dart API
PlaceFilter
PlaceFilter class
The filter options to specify a place.
Consists of fuel, truck and EV options.
Constructors
Properties
- ev ↔ PlaceFilterEv
-
Constraints that are applicable on the places of category EV station.
getter/setter pair
-
fuelTypes
↔ List<
FuelType> -
The list of FuelType elements that should be used to find only
the FuelStation search results that support all of them.
This filter is available to use with the
SearchEngineandOfflineSearchEngine(not available for all editions), howeverOfflineSearchEnginesupports it only forsearchByTextandsearchByCategorywith allowed fuel typesDIESEL,LPG,BIO_DIESEL,CNG,DIESEL_WITH_ADDITIVES,E10,E85,ETHANOL,ETHANOL_WITH_ADDITIVES,GASOLINE,HYDROGEN,LNG,MIDGRADE,PREMIUMandREGULAR.getter/setter pair - hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- truckClass ↔ TruckClass?
-
Should be used to find only the FuelStation search results with minimum supported TruckClass.
This filter is only available to use with the
SearchEngine. TheOfflineSearchEngine(not available for all editions) does not apply this filter. TruckClass.lightClass is not accepted in the filter. Otherwise will result in SearchError.invalidTruckClass.getter/setter pair -
truckFuelTypes
↔ List<
TruckFuelType> -
The list of TruckFuelType elements that should be used to find only
the FuelStation search results that support all of them.
Not supported for
suggestByTextinOfflineSearchEngine(not available in all editions).getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.