FirebaseAuthState class

Implemented types
Mixed-in types
Available extensions

Constructors

FirebaseAuthState(FirebaseAuthAppModule authModule, User? _currentFbUser, UserDetails? currentProfile, {required Stream<ErrorStack> appErrors})

Properties

accountId String?
no setteroverride
authModule FirebaseAuthAppModule
final
authStateChange Stream<AuthEvent>
no setter
current AuthUserProfile?
no setteroverride
currentAuth AuthUserProfile?
no setter
currentFirebaseUser → User?
no setter
currentUser UserDetails?
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setteroverride
isLoggedIn bool
no setteroverride
isNotLoggedIn bool
no setteroverride
log → Logger
no setterinherited
loggerName String
no setterinherited
onUserChange Stream<AuthUserProfile?>
no setteroverride
onUserChangeAfter Stream<AuthUserProfile?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unauthenticatedErrors Stream<bool>
no setter
userStateStream Stream<AuthUserProfile>
no setteroverride

Methods

completeSignup(BuildContext context) Future<bool>
dispose() Future
inherited
doShutdown() Future
override
exec<R>(R block()) → R
inherited
initializeState({required User? fbUser, AuthUserProfile? profile, bool resetState = false}) → void
Most of the time, setting these variables should be handled automatically, and this method should not be needed.
isShuttingDown() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLogin(AsyncOrCallback onLogin) → void
inherited
onLogout(AsyncOrCallback onLogout) → void
inherited
onPreLogout(Future onPreLogout()) → void
override
onShutdown(_AsyncCallback callback) → void
inherited
onStartup(_AsyncCallback callback) → void
inherited
registerDisposer(FutureOr dispose()) → void
inherited
registerLoginHooks(IAuthState authState) → void
inherited
removeDisposer(FutureOr dispose()) → void
inherited
removePreLogout(Future onPreLogout()) → void
signOut() Future
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override