discoverDevices property
Implementation
@override
Stream<BluetoothDevice> get discoverDevices {
final stream = foundDeviceEvent.receiveBroadcastStream().map(
(event) {
final data =
HelperFunctions.convertToMap(event as Map<Object?, Object?>);
final device = BluetoothDevice.fromMap(data);
return device;
},
);
return stream;
}