onClose property

Stream<CloseEvent> get onClose

Stream of close events handled by this WebSocket.

Implementation

Stream<CloseEvent> get onClose => closeEvent.forTarget(this);