containsLandmark method

bool containsLandmark(
  1. int landmarkId
)

Checks if the landmark store contains the landmark ID

Parameters

  • IN landmarkId The id of the landmark looked for

Returns

  • True if the landmark is in the landmark store, false otherwise.

Throws

  • An exception if it fails.

Implementation

bool containsLandmark(final int landmarkId) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LandmarkStore',
    'containsLandmark',
    args: landmarkId,
  );

  return resultString['result'];
}