isClosed property
bool
get
isClosed
Returns true if the connection is closed or failed
Implementation
bool get isClosed =>
this == WebSocketState.closed || this == WebSocketState.failed;
Returns true if the connection is closed or failed
bool get isClosed =>
this == WebSocketState.closed || this == WebSocketState.failed;