isConnected property

bool get isConnected

Checks if the device is connected.

Implementation

bool get isConnected => _connectedDevice?.isConnected ?? false;