cancelCurrentSession static method
This method is used for cancelling current running session.
Implementation
static Future<void> cancelCurrentSession() async {
await _channel.invokeMethod('cancelCurrentSession');
if (!kIsWeb && Platform.isIOS) {
MotionReporter.instance.stop();
RenderActivityReporter.instance.stop();
}
}