stopScan method
Stops a scan for Bluetooth Low Energy devices
Implementation
Future stopScan() async {
if (Platform.isIOS) await iosChannel.invokeMethod('stopScan');
_stopScanPill.add(null);
_isScanning.add(false);
}
Stops a scan for Bluetooth Low Energy devices
Future stopScan() async {
if (Platform.isIOS) await iosChannel.invokeMethod('stopScan');
_stopScanPill.add(null);
_isScanning.add(false);
}