removeAllStoreCategories method
- int storeId
Removes all categories associated with the store identified by storeId.
Parameters
storeId: The store id whose categories should be removed.
Returns
- GemError: GemError.success on success; GemError.notFound when the store id is not in the collection.
Implementation
GemError removeAllStoreCategories(final int storeId) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStoreCollection',
'removeAllStoreCategories',
args: storeId,
dependencyId: _mapPointerId,
);
return GemErrorExtension.fromCode(resultString['result']);
}