isConnected property
bool
get
isConnected
A flag indicating whether the client is connected to the server.
Implementation
bool get isConnected => _socket != null;
A flag indicating whether the client is connected to the server.
bool get isConnected => _socket != null;