onClose property

Stream<void> onClose

Fired once the underlying WebSocket closes.

Implementation

Stream<void> get onClose => _onClose.stream;