optOutOverall static method

Future<void> optOutOverall()

This method is used for opting in to disable recording at runtime

Implementation

static Future<void> optOutOverall() async {
  await _channel.invokeMethod('optOutOverall');
  if (!kIsWeb && Platform.isIOS) {
    MotionReporter.instance.stop();
    RenderActivityReporter.instance.stop();
  }
}