selectAnnotation method

void selectAnnotation(
  1. Annotation annotation
)

Selects the given annotation.

Implementation

void selectAnnotation(Annotation annotation) {
  if (_annotations.contains(annotation)) {
    _annotation = annotation;
    _notifyPropertyChangedListeners(property: 'selectAnnotation');
    _annotation = null;
  }
}