optInOverall static method

Future<void> optInOverall()

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

Implementation

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