getCategoryCount method
- int storeId
Returns the number of category ids enabled for storeId.
Parameters
storeId: The store id to query.
Returns
- int: The number of enabled categories for the store on success.
GemError.notFound.code: When the store id is not present in the collection.
Implementation
int getCategoryCount(final int storeId) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStoreCollection',
'getCategoryCount',
args: storeId,
dependencyId: _mapPointerId,
);
return resultString['result'];
}