scanResults property
Stream<List<ScanResult> >
get
scanResults
Returns a stream that is a list of ScanResult results while a scan is in progress.
The list emitted is all the scanned results as of the last initiated scan. When a scan is first started, an empty list is emitted. The returned stream is never closed.
One use for scanResults is as the stream in a StreamBuilder to display the results of a scan in real time while the scan is in progress.
Implementation
Stream<List<ScanResult>> get scanResults => _scanResults.stream;