Session class abstract
Session
Properties:
Constructors
- Session([void updates(SessionBuilder b)])
-
factory
Properties
- createAt → int?
-
The time in milliseconds a session was created
no setter
- deviceId → String?
-
no setter
- expiresAt → int?
-
The time in milliseconds a session will expire
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setter
- isOauth → bool?
-
no setter
- lastActivityAt → int?
-
The time in milliseconds of the last activity of a session
no setter
- props → JsonObject?
-
no setter
- roles → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
teamMembers
→ BuiltList<
TeamMember> ? -
no setter
- token → String?
-
no setter
- userId → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(SessionBuilder)) → Session -
Rebuilds the instance.
inherited
-
toBuilder(
) → SessionBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Session> -
no setter