getLandmarkCount method

int getLandmarkCount({
  1. int categoryId = LandmarkStore.invalidLandmarkCategId,
})

Returns the number of landmarks in categoryId.

Special values:

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'];
}