categories property
Returns the categories assigned to this landmark.
Categories classify the landmark into predefined types (for example Gas Station, Shopping, etc.). A landmark can belong to zero or more categories.
Returns
- List<LandmarkCategory>: The list of categories for this landmark.
Implementation
List<LandmarkCategory> get categories {
final OperationResult resultString = objectMethod(
pointerId,
'Landmark',
'getCategories',
);
return LandmarkCategoryList.init(resultString['result']).toList();
}