handleConnectionClose method
void
handleConnectionClose()
Internal: handle connection close.
Implementation
void handleConnectionClose() {
_destroyed = true;
_eventStreamController?.close();
_eventStreamController = null;
}