contains method

bool contains(
  1. int storeId,
  2. int categoryId
)

Check if the specified category ID from the specified store ID was already added.

Parameters

  • IN storeId The store ID
  • IN categoryId The category ID

Returns

  • True if the category ID from the store ID was already added, false otherwise.

Throws

  • An exception if it fails.

Implementation

bool contains(final int storeId, final int categoryId) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LandmarkStoreCollection',
    'contains',
    args: <String, int>{'storeId': storeId, 'categoryId': categoryId},
  );

  return resultString['result'];
}