setVisible method
Sets the annotation's visibility state.
When set to false, the annotation is hidden from the canvas but remains in the controller's annotation collection.
Implementation
void setVisible(bool visible) {
runInAction(() {
_isVisible.value = visible;
});
}