isOpen property

bool isOpen

The connection is open and ready to communicate.

Implementation

bool get isOpen => this == WebSocketReadyState.open;