contains method
Returns whether the given storeId and categoryId pair exists in the collection.
Parameters
storeId: The store id to check.categoryId: The category id to check.
Returns
- bool:
truewhen the pair is present; otherwisefalse.
Implementation
bool contains(final int storeId, final int categoryId) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStoreCollection',
'contains',
args: <String, int>{'storeId': storeId, 'categoryId': categoryId},
dependencyId: _mapPointerId,
);
return resultString['result'];
}