getSession method
returns the current session UID used by Pal to identify the current user
for more informations about sessions please check our documentation
Implementation
Future<String?> getSession() {
if (_sessionApi!.hasSession) {
return Future.value(_sessionApi!.session.uid);
}
return Future.value(null);
}