LoginEvent class
Event dispatched when a user logs in
Constructors
- LoginEvent({required AuthUser user, required AuthToken token, required String providerId})
-
Creates a new LoginEvent with the given user and token
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- providerId → String
-
Provider ID used for login
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → AuthToken
-
The authentication token
final
- type → String
-
Type of the auth event
finalinherited
- user → AuthUser
-
The authenticated 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited