stopScanning method
Stops the scanning for devices started by startScanning. Suitably call this whenever one has connected to the device using connectDevice.
Implementation
Future<void> stopScanning() async {
await _methodChannel.invokeMethod('stopScanning');
}