getUserId static method
Implementation
static Future<String> getUserId() async {
Map<String, dynamic>? frontToken = await FrontToken.getToken();
if (frontToken == null)
throw SuperTokensException("Session does not exist");
return frontToken['uid'] as String;
}