addCategory method
- LandmarkCategory category
Add a new category to the store.
After this method call, the category object that is passed as a parameter belongs to this landmark store. The category must have a name.
Parameters
- IN category The category to be added
Throws
- An exception if it fails.
Implementation
void addCategory(final LandmarkCategory category) {
objectMethod(
_pointerId,
'LandmarkStore',
'addCategory',
args: category.pointerId,
);
}