removeStoreCategoryId method
Removes categoryId from the store identified by storeId.
Parameters
storeId: The store id to update.categoryId: The category id to remove.
Returns
- GemError: GemError.success on success; GemError.notFound when the store or category id cannot be found.
Implementation
GemError removeStoreCategoryId(final int storeId, final int categoryId) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStoreCollection',
'removeStoreCategoryId',
args: <String, int>{'storeId': storeId, 'categoryId': categoryId},
dependencyId: _mapPointerId,
);
return GemErrorExtension.fromCode(resultString['result']);
}