stopScan static method
Stops a scan for Bluetooth Low Energy devices
Implementation
static Future<void> stopScan() async {
await _initialize();
WinBle.stopScanning();
_scanSubscription?.cancel();
_scanTimeout?.cancel();
_isScanning.add(false);
_scanResultsList.latestValue = [];
}