Capabilities class

Annotations
  • @_NameSource('spec')

Constructors

Capabilities.new({BooleanCapability? m3pidChanges, BooleanCapability? mChangePassword, BooleanCapability? mGetLoginToken, ProfileFieldsCapability? mProfileFields, RoomVersionsCapability? mRoomVersions, BooleanCapability? mSetAvatarUrl, BooleanCapability? mSetDisplayname, Map<String, Object?> additionalProperties = const {}})
Capabilities.fromJson(Map<String, Object?> json)

Properties

additionalProperties Map<String, Object?>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
m3pidChanges BooleanCapability?
Capability to indicate if the user can change 3PID associations on their account.
getter/setter pair
mChangePassword BooleanCapability?
Capability to indicate if the user can change their password.
getter/setter pair
mGetLoginToken BooleanCapability?
Capability to indicate if the user can generate tokens to log further clients into their account.
getter/setter pair
mProfileFields ProfileFieldsCapability?
Capability to indicate if the user can set or modify extended profile fields via PUT /_matrix/client/v3/profile/{userId}/{keyName}. If absent, clients SHOULD assume custom profile fields are supported, provided the homeserver advertises a specification version that includes m.profile_fields in the /versions response.
getter/setter pair
mRoomVersions RoomVersionsCapability?
The room versions the server supports.
getter/setter pair
mSetAvatarUrl BooleanCapability?
Deprecated: Capability to indicate if the user can change their avatar. Refer to m.profile_fields for extended profile management.
getter/setter pair
mSetDisplayname BooleanCapability?
Deprecated: Capability to indicate if the user can change their display name. Refer to m.profile_fields for extended profile management.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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