pauseDetection method
Implementation
Future<void> pauseDetection() async {
try {
enabled = false;
await detectorChannel.invokeMethod("disable");
} catch (e) {
Logger.root.severe(e);
}
return;
}
Future<void> pauseDetection() async {
try {
enabled = false;
await detectorChannel.invokeMethod("disable");
} catch (e) {
Logger.root.severe(e);
}
return;
}