stopDiscovery method
Stops scan for Bluetooth LE devices. Throw BTException if failed.
Implementation
@override
Future<bool> stopDiscovery() async {
try {
await methodChannel.invokeMethod("stopDiscovery");
return true;
} on PlatformException catch (e) {
throw BTException.fromPlatform(e);
}
}