setDeviceDiscoveryListener method
Device listener fired on device scans during trips.
Implementation
@override
Stream<List<MoveScanResult>> setDeviceDiscoveryListener() async* {
yield* deviceDiscoveryChannel
.receiveBroadcastStream()
.asyncMap<List<MoveScanResult>>((results) {
var moveScanResults = MoveScanResult.fromNative(results);
return moveScanResults;
});
}