connected property

bool get connected

Returns whether the communicator is currently connected to the back end. A communicator may be active but not connected either because the back end is refusing connections or the connection is being (re-)established.

Implementation

bool get connected => _channel != null;