AuthResponse class

Constructors

AuthResponse.cancelled()
const
AuthResponse.error(Object? error, [AuthErrorCode? code = AuthErrorCode.other])
const
AuthResponse.success(AuthCredential? cred, {User? user, bool reauth = true})
const
AuthResponse.userLogin({User? user})
const

Properties

code AuthErrorCode?
final
cred → AuthCredential?
final
error Object?
final
hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
no setter
isLoggedIn bool
no setter
reauth bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status LoginState
no setter
user → User?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withUser(User? user) AuthResponse

Operators

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