getBondedDevices method
Implementation
@override
Future<List<BluetoothDevice>> getBondedDevices() async {
final response =
await methodChannel.invokeMethod("get_bonded_devices") as List<Object?>;
final devices = response.map(BluetoothDevice.fromMap);
return devices.toList();
}