Stream<CloseEvent> onClose

Stream of close events handled by this WebSocket.

Source

@DomName('WebSocket.onclose')
@DocsEditable()
Stream<CloseEvent> get onClose => closeEvent.forTarget(this);