getBondedDevices method

Future<List<BluetoothDevice>> getBondedDevices()

getBondedDevices()

Implementation

Future<List<BluetoothDevice>> getBondedDevices() async {
  final List list = await (_channel.invokeMethod('getBondedDevices'));
  return list.map((map) => BluetoothDevice.fromMap(map)).toList();
}