selectAnnotation method

void selectAnnotation(
  1. String annotationId, {
  2. bool toggle = false,
})

Select or deselect an annotation

annotationId - The ID of the annotation to select toggle - If true, toggles selection state; if false, replaces current selection

Implementation

void selectAnnotation(String annotationId, {bool toggle = false}) {
  internalSelectAnnotation(annotationId, toggle: toggle);
}