pauseDetection method

Future<void> pauseDetection()

Implementation

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