isConnected property

bool get isConnected

Boolean value that returns if the device is connected to another device

Implementation

bool get isConnected => connectionsManager.connectedDevices.isNotEmpty;