currentUser property
Gets the currently logged in User. If none exists, null
is returned.
Implementation
User? get currentUser {
final userHandle = realmCore.getCurrentUser(_handle);
if (userHandle == null) {
return null;
}
return UserInternal.create(userHandle, this);
}