isAuthenticated property
bool
get
isAuthenticated
Check if authenticated (valid non-expired token)
Implementation
bool get isAuthenticated {
try {
final lib = PlatformLoader.loadCommons();
final isAuth = lib.lookupFunction<Int32 Function(), int Function()>(
'rac_auth_is_authenticated',
);
return isAuth() != 0;
} catch (e) {
return false;
}
}