isOpen

External Documentation

bool get isOpen

Returns true if the connection is open and ready to communicate.

Implementation

bool get isOpen => _ws.readyState == WebSocketReadyState.open.value;