isBleTurnedOn method

Future<bool> isBleTurnedOn()

Implementation

Future<bool> isBleTurnedOn() async {
  if (!isInitialized) {
    throw Exception('WindowBluetoothManager is not initialized');
  }
  return (await WinBle.getBluetoothState()) == BleState.On;
}