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