isConnected property
bool
get
isConnected
Whether the socket is currently connected.
Implementation
bool get isConnected => socket != null;
Whether the socket is currently connected.
bool get isConnected => socket != null;