Device class
Device
- Implemented types
Constructors
Properties
- $createdAt → String
-
Device creation date in ISO 8601 format.
final
- $id → String
-
Device ID.
final
- $updatedAt → String
-
Device update date in ISO 8601 format.
final
- activeSessionId → String
-
ID of the session that is currently active on the device. Empty when no session is active, for example right after the active session was deleted.
final
- expire → String
-
Device expiration date in ISO 8601 format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String
-
Secret used to authenticate the device. Carried by the device cookie; only included in the response if the request was made with an API key.
final
-
sessions
→ List<
Session> -
List of sessions the device holds. Switch between them to change the active account.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited