isNotConnected property
bool
get
isNotConnected
Whether or not the client is currently not trying to connect, pending, nor actively connected.
Implementation
bool get isNotConnected => connection == null || _connection!.isNotConnected;