connected property

  1. @override
bool get connected

Returns whether the communicator is currently connected to the external source or not. This may be false because the communicator is not connected, but still trying to connect. To determine if the communicator is trying to connect, use the active property.

Implementation

@override
bool get connected => _channel != null;