selectedAnnotation property
Annotation?
get
selectedAnnotation
Gets the single selected annotation, if exactly one is selected.
Returns null if no annotations are selected or multiple are selected.
Implementation
Annotation? get selectedAnnotation {
if (_selectedAnnotationIds.length != 1) return null;
return _annotations[_selectedAnnotationIds.first];
}