isConnected property

bool get isConnected
inherited

Returns true if the Worker is connected i.e., it has a valid Channel. Returns false otherwise.

Implementation

bool get isConnected => _channel != null;