isConnected property

bool get isConnected

Whether the underlying socket is connected.

Implementation

bool get isConnected => client.isConnected;