closeEvent top-level property
dynamic
get
closeEvent
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
Implementation
_i2.dynamic get closeEvent => _i4.getProperty(
_self,
'CloseEvent',
);