Capabilities class
- Annotations
-
- @_NameSource('spec')
Constructors
-
Capabilities({BooleanCapability? m3pidChanges, BooleanCapability? mChangePassword, BooleanCapability? mGetLoginToken, 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
- mRoomVersions ↔ RoomVersionsCapability?
-
The room versions the server supports.
getter/setter pair
- mSetAvatarUrl ↔ BooleanCapability?
-
Capability to indicate if the user can change their avatar.
getter/setter pair
- mSetDisplayname ↔ BooleanCapability?
-
Capability to indicate if the user can change their display name.
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