removeCategory method

void removeCategory(
  1. int categoryId, {
  2. bool removeLmkContent = false,
})

Remove the specified category.

Parameters

  • IN categoryId The category ID.
  • IN removeLmkContent Request to remove all landmarks belonging to the category.

If removeLmkContent is false, the landmarks belonging to the category are marked uncategorized.

Throws

  • An exception if it fails.

Implementation

void removeCategory(
  final int categoryId, {
  final bool removeLmkContent = false,
}) {
  objectMethod(
    _pointerId,
    'LandmarkStore',
    'removeCategory',
    args: <String, Object>{
      'categoryId': categoryId,
      'removeLmkContent': removeLmkContent,
    },
  );
}