onClose property

Stream<Null> get onClose

Fired once the underlying WebSocket closes.

Implementation

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