updateLandmark method

void updateLandmark(
  1. Landmark landmark
)

Updates the persisted data for an existing landmark in this store.

This call does not change the category assignments of the landmark. The provided landmark instance must belong to this store. The store will update the landmark's timestamp to reflect the modification.

Parameters

  • landmark: The Landmark instance containing updated values.

Implementation

void updateLandmark(final Landmark landmark) {
  objectMethod(
    pointerId,
    'LandmarkStore',
    'updateLandmark',
    args: landmark.pointerId,
  );
}