stopScan method
Implementation
Future<void> stopScan() async {
try {
print("Calling stop scan");
methodChannel.invokeMethod('stopScan');
} on PlatformException catch (e) {
print("Failed to invoke stopScan: '${e.message}'.");
}
}
Future<void> stopScan() async {
try {
print("Calling stop scan");
methodChannel.invokeMethod('stopScan');
} on PlatformException catch (e) {
print("Failed to invoke stopScan: '${e.message}'.");
}
}