Returns the session ID if a session is active.
Returns null when no session is active or the platform cannot provide a session ID.
null
Future<String?> getSessionId() => _posthog.getSessionId();