excludeCategories property - CategoryQuery class - search library - Dart API
excludeCategories
excludeCategories property
getter/setter pair
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.
Implementation
List<PlaceCategory> excludeCategories;