CategoryQuery class

The options to specify a query by categories.

Constructors

CategoryQuery.withCategoriesAndFilterInArea(List<PlaceCategory> categories, String filter, CategoryQueryArea area)
Constructs a new instance of this class from provided parameters.
factory
CategoryQuery.withCategoriesInArea(List<PlaceCategory> categories, CategoryQueryArea area)
Constructs a new instance of this class from provided parameters.
factory
CategoryQuery.withCategoryAndFilterInArea(PlaceCategory category, String filter, CategoryQueryArea area)
Constructs a new instance of this class from provided parameters.
factory
CategoryQuery.withCategoryInArea(PlaceCategory category, CategoryQueryArea area)
Constructs a new instance of this class from provided parameters.
factory

Properties

area CategoryQueryArea
Area in which to provide the most relevant places.
getter/setter pair
categories ↔ List<PlaceCategory>
List of categories to be included. A place can be assigned multiple categories. If any of them is in CategoryQuery.categories, but none are in CategoryQuery.excludeCategories, that place will be included in the response.
getter/setter pair
excludeCategories ↔ List<PlaceCategory>
List of categories and subcategories to be excluded. A place can be assigned multiple categories. If any of them is in CategoryQuery.excludeCategories, that place will not be included in the response, regardless of whether any of its assigned categories have been included in CategoryQuery.categories. In short, an exclusion will always win over an inclusion. This is especially useful for excluding specific subcategories from the main category.
getter/setter pair
excludeChains ↔ List<PlaceChain>
List of chains to be excluded. A place can be assigned multiple chains. If any of them is in CategoryQuery.excludeChains, that place will not be included in the response, regardless of whether any of its assigned chains have been included in CategoryQuery.includeChains. In short, an exclusion will always win over an inclusion.
getter/setter pair
excludeFoodTypes ↔ List<PlaceFoodType>
List of food types to be excluded. A place can be assigned multiple food types. If any of them is in CategoryQuery.excludeFoodTypes, that place will not be included in the response, regardless of whether any of its assigned food types have been included in CategoryQuery.includeFoodTypes. In short, an exclusion will always win over an inclusion.
getter/setter pair
filter ↔ String?
Full-text filter on POI names/titles. Results with a partial match are included in the response. By default the value is set to null and results will be based on other parameters provided.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
includeChains ↔ List<PlaceChain>
List of chains to be included. A place can be assigned multiple chains. If any of them is in CategoryQuery.includeChains, but none are in CategoryQuery.excludeChains, that place will be included in the response.
getter/setter pair
includeFoodTypes ↔ List<PlaceFoodType>
List of food types to be included. A place can be assigned multiple food types. If any of them is in CategoryQuery.includeFoodTypes, but none are in CategoryQuery.excludeFoodTypes, that place will be included in the response.
getter/setter pair
placeFilter PlaceFilter
The filter options to specify a place in query. Consists of fuel and truck options.
getter/setter pair
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.