getCurrentSessionId method
Returns the active session id. This can be used to correlate the Clarity session with other analytics tools that the developer may be using. @returns a promise that resolves to the current session id.
Implementation
Future<String?> getCurrentSessionId() async {
if (!Platform.isAndroid) {
// print("Clarity supports Android only for now.");
return Future(() => "");
}
return _platform.getCurrentSessionId();
}