currentUser property

Stream<AuthUser<T>?> currentUser
latefinal

Stream that emits the currently logged-in user, or null if no user is logged in.

For synchronous access to the current user, use currentUserValue.

Implementation

late final Stream<AuthUser<T>?> currentUser = persistence.currentUser;