isConnected property

bool get isConnected

Whether the client is connected.

Implementation

bool get isConnected => _socket != null;