bluetoothState static method

String bluetoothState(
  1. bool enabled
)

Implementation

static String bluetoothState(bool enabled) => '<characteristic type="WirelessMgr">'
    '<parm name="BluetoothState" value="${enabled ? '1' : '2'}"/>'
    '</characteristic>';