isConnected property

bool get isConnected

Whether the client is connected.

Implementation

bool get isConnected => _connectionState == ConnectionState.connected;