getBondedDevices method
实现 FlutterBluetoothPluginPlatform.getBondedDevices。
参数、默认值、平台差异和推荐值见平台接口文档。
Implementation
@override
Future<List<BluetoothDevice>> getBondedDevices() async {
final response = await methodChannel.invokeListMethod<dynamic>(
'getBondedDevices',
);
return _deviceListFromPlatform(response);
}