EventSessionCreated class
Event of a new Session being created.
- Inheritance
-
- Object
- SessionEvent
- EventSessionCreated
Constructors
- EventSessionCreated(SessionId id, PreciseDateTime at, UserAgent userAgent, bool remembered, IpAddress ip)
-
const
Properties
- at → PreciseDateTime
-
PreciseDateTime when this SessionEvent happened.
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → SessionId
-
ID of the MyUser this SessionEvent is related to.
finalinherited
- ip → IpAddress
-
IP of the device the Session was created from.
final
- kind → SessionEventKind
-
Returns SessionEventKind of this SessionEvent.
no setteroverride
- remembered → bool
-
Indicator whether the created Session is remembered and is allowed to be
refreshed via
Mutation.refreshSession
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAgent → UserAgent
-
UserAgent the Session was created by.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toModel(
) → Session - Constructs a Session from this event.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override