togglePopup method
Hide the popup if it is showing for the given marker, otherwise show it for that marker.
Implementation
void togglePopup(Marker? marker) {
streamController?.add(PopupEvent.toggle(marker));
}
Hide the popup if it is showing for the given marker, otherwise show it for that marker.
void togglePopup(Marker? marker) {
streamController?.add(PopupEvent.toggle(marker));
}