removeCategory method
Removes a category from this store.
Optionally also removes landmarks that belong to the removed category; when
removeLmkContent is false affected landmarks are marked as uncategorized instead.
Parameters
categoryId: The id of the category to remove.removeLmkContent: When true delete landmarks assigned to the category.
Implementation
void removeCategory(
final int categoryId, {
final bool removeLmkContent = false,
}) {
objectMethod(
pointerId,
'LandmarkStore',
'removeCategory',
args: <String, Object>{
'categoryId': categoryId,
'removeLmkContent': removeLmkContent,
},
);
}