isDisconnected property

bool get isDisconnected

Returns true if this device is currently disconnected from your app

Implementation

bool get isDisconnected => isConnected == false;