getSessionId method
Retrieves the current session ID.
Returns the current session ID as an int, or null if no session
is currently active.
This method allows you to access the current session identifier.
Implementation
Future<int?> getSessionId() async {
return RudderSdkPlatform.instance.getSessionId();
}