isConnected property

bool get isConnected

Getter to check if the channel is currently connected.

Implementation

bool get isConnected => _channel != null;