onClose property

Stream<CloseEvent> onClose

Stream of close events handled by this WebSocket.

Implementation

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