detachFromStore method

void detachFromStore()

Detach the landmark from the parent landmark store.

After this call, the getLandmarkStoreId() will return -1. This means that the landmark is no longer associated with a landmark store and it's not using store properties like store icon etc. It will not be removed from the store.

Throws

  • An exception if it fails.

Implementation

void detachFromStore() {
  objectMethod(
    _pointerId,
    'Landmark',
    'detachFromStore',
  );
}