scan method
scan scans for Bluetooth devices (Android only)
Implementation
@override
Stream<BluetoothPrinter> scan() {
if (Platform.isAndroid) {
return DragoBluePrinter.instance.scan().map(
(d) => BluetoothPrinter(name: d.name, address: d.address, type: d.type),
);
}
// Fallback for others or empty stream
return Stream.empty();
}