startNewSession static method

Future<void> startNewSession()

This method is used for starting new session

Implementation

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