getConnectedDevice static method

Future<String?> getConnectedDevice()

Get the address of the currently connected device Returns null if no device is connected

Implementation

static Future<String?> getConnectedDevice() {
  return BluetoothConnectionPluginPlatform.instance.getConnectedDevice();
}