stopScan method
Stop scanning for beacons
Implementation
@override
Future<bool> stopScan() async {
try {
final bool? result = await methodChannel.invokeMethod<bool>('stopScan');
return result ?? false;
} on PlatformException catch (e) {
debugPrint("Error stopping scan: ${e.message}");
return false;
}
}