onClose property Null safety

Stream<CloseEvent> onClose

Stream of close events handled by this WebSocket.

Implementation

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