bondedDevices property
Future<List<BluetoothDevice> >
get
bondedDevices
Implementation
Future<List<BluetoothDevice>> get bondedDevices {
if (!Platform.isAndroid) return Future.value([]);
return _channel
.invokeMethod('getBondedDevices')
.then((buffer) => protos.ConnectedDevicesResponse.fromBuffer(buffer))
.then((p) => p.devices)
.then((p) => p.map((d) => BluetoothDevice.fromProto(d)).toList());
}