isConnected property

bool get isConnected

Checks if the device is connected.

Implementation

bool get isConnected => state == BrilliantConnectionState.connected;