stopScan method
Stops the active BLE scan.
Implementation
Future<bool> stopScan() async {
return _mutex.protect(() async {
final result = await NexoraSdkPlatform.instance.stopBluetoothScan();
if (result) _isScanning = false;
return result;
});
}