deselectAnnotation method

void deselectAnnotation(
  1. Annotation annotation
)

Deselects the given annotation.

Implementation

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