bluetoothScanStream property
Stream các device được discover trong quá trình scan. Gọi startBluetoothScan trước khi listen trên iOS.
Implementation
@override
Stream<BluetoothDeviceModel> get bluetoothScanStream {
return _scanChannel
.receiveBroadcastStream()
.map((e) => BluetoothDeviceModel.fromMap(Map<String, dynamic>.from(e)));
}