isConnectionActive property

bool get isConnectionActive

Implementation

bool get isConnectionActive => connection != null && connection!.attached;