UserChangedEvent class final
Emitted whenever an AuthPlugin sets the current user: on sign-in, sign-out and profile changes. data is the new user, which is User.unknown after sign-out.
Constructors
- UserChangedEvent(User user)
Properties
- data → User?
-
Optional data associated with the event.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the event, used for identification and logging.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the event was created.
finalinherited
- user → User
-
The new current user.
no setter
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