getLandmarkCount method
- int categoryId = LandmarkStore.invalidLandmarkCategId,
Returns the number of landmarks in categoryId.
Special values:
- uncategorizedLandmarkCategId returns the count of uncategorized landmarks.
- invalidLandmarkCategId returns the total count for the store.
Parameters
categoryId: The category id to count.
Returns
- int: The landmark count.
Implementation
int getLandmarkCount({
int categoryId = LandmarkStore.invalidLandmarkCategId,
}) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStore',
'getLandmarkCount',
args: categoryId,
);
return resultString['result'];
}