getSessionIndex static method
Returns the index (number) of the current session for this user.
The tracker
namespace is required but ignored on Web where all trackers share the same session.
Implementation
static Future<int?> getSessionIndex({required String tracker}) async {
return await _channel.invokeMethod('getSessionIndex', {'tracker': tracker});
}