isConnected property
Returns true if the Worker is connected i.e., it has a valid Channel.
Returns false otherwise.
Implementation
bool get isConnected => _channel != null;
Returns true if the Worker is connected i.e., it has a valid Channel.
Returns false otherwise.
bool get isConnected => _channel != null;