categories property

List<LandmarkCategory> get categories

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

Implementation

List<LandmarkCategory> get categories {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Landmark',
    'getCategories',
  );

  return LandmarkCategoryList.init(resultString['result']).toList();
}