menu
matrix package
documentation
matrix_api_lite/generated/model.dart
TokenOwnerInfo class
TokenOwnerInfo class
dark_mode
light_mode
TokenOwnerInfo
class
Annotations
@_NameSource('rule override generated')
Constructors
TokenOwnerInfo
({
String
?
deviceId
,
bool
?
isGuest
,
required
String
userId
})
TokenOwnerInfo.fromJson
(
Map
<
String
,
Object
?
>
json
)
Properties
deviceId
↔
String
?
Device ID associated with the access token. If no device is associated with the access token (such as in the case of application services) then this field can be omitted. Otherwise this is required.
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
override
isGuest
↔
bool
?
When
true
, the user is a
Guest User
. When not present or
false
, the user is presumed to be a non-guest user.
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
userId
↔
String
The user ID that owns the access token.
getter/setter pair
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
Object
?
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
override
matrix package
documentation
matrix_api_lite/generated/model
TokenOwnerInfo class
model library