containsStoreId method

bool containsStoreId(
  1. int storeId
)

Returns whether the store identified by storeId has any enabled category.

Parameters

  • storeId: The store id to check.

Returns

  • bool: true if the store has at least one category in the collection.

Implementation

bool containsStoreId(final int storeId) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'LandmarkStoreCollection',
    'containsStoreId',
    args: storeId,
    dependencyId: _mapPointerId,
  );

  return resultString['result'];
}