isDisconnected property

bool get isDisconnected

Whether the client is disconnected from the server

Implementation

bool get isDisconnected => this == disconnected;