isConnecting property

bool get isConnecting

Checks if the connection is in a connecting state

Implementation

bool get isConnecting => currentState == WebSocketState.connecting;