categories property

List<LandmarkCategory> get categories

Get the list of all categories.

Returns

  • The list of categories

Throws

  • An exception if it fails.

Implementation

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

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