getBluetooths property

Future<List?> get getBluetooths

Get list of all paired bluetooth devices

Implementation

static Future<List?> get getBluetooths async {
  List? items = [];
  try {
    final List? result = await _channel.invokeMethod('bluetothLinked');
    items = result;
  } on PlatformException catch (e) {
    print("Bluetooth paired failure: '${e.message}'.");
  }

  return items;
}