addStoreCategoryId method
Adds a single category id to the specified store entry in the collection.
Parameters
storeId: The target store id.categoryId: The category id to add.
Returns
- GemError: GemError.success on success; GemError.notFound when the store or category id could not be found.
Implementation
GemError addStoreCategoryId(final int storeId, final int categoryId) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStoreCollection',
'addStoreCategoryId',
args: <String, int>{'storeId': storeId, 'categoryId': categoryId},
dependencyId: _mapPointerId,
);
return GemErrorExtension.fromCode(resultString['result']);
}