isConnected property

bool get isConnected

Whether the client is connected to the server

Implementation

bool get isConnected => this == connected;