Session class
Session of a MyUser being signed-in.
- Implemented types
Constructors
- Session({required SessionId id, required IpAddress ip, required UserAgent userAgent, required PreciseDateTime lastActivatedAt})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → SessionId
-
Unique ID of this Session.
final
- ip → IpAddress
-
IpAddress of the device, that used this Session last time.
final
- lastActivatedAt → PreciseDateTime
-
DateTime when this Session was activated last time (either created or
refreshed).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAgent → UserAgent
-
UserAgent of the device, that used this Session last time.
final
Methods
-
compareTo(
Session other) → int -
Compares this object to another object.
override
-
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