PlaceTypeFilter enum
Filter to restrict the result set of autocomplete predictions to certain types.
Constructors
- PlaceTypeFilter()
-
const
- PlaceTypeFilter.fromJson(String name)
-
factory
Values
- ADDRESS → const PlaceTypeFilter
-
Only return geocoding results with a precise address.
- CITIES → const PlaceTypeFilter
-
Return any result matching the following place types:
LOCALITY ADMINISTRATIVE_AREA_LEVEL_3
- ESTABLISHMENT → const PlaceTypeFilter
-
Only return results that are classified as businesses.
- GEOCODE → const PlaceTypeFilter
-
Only return geocoding results, rather than business results. For example, parks, cities and street addresses.
- REGIONS → const PlaceTypeFilter
-
Return any result matching the following place types:
LOCALITY SUBLOCALITY POSTAL_CODE COUNTRY ADMINISTRATIVE_AREA_LEVEL_1 ADMINISTRATIVE_AREA_LEVEL_2
Properties
- apiExpectedValue → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Constants
-
values
→ const List<
PlaceTypeFilter> - A constant List of the values in this enum, in order of their declaration.