PublicRoomsChunk class

Annotations
  • @_NameSource('spec')

Constructors

PublicRoomsChunk({Uri? avatarUrl, String? canonicalAlias, required bool guestCanJoin, String? joinRule, String? name, required int numJoinedMembers, required String roomId, String? roomType, String? topic, required bool worldReadable})
PublicRoomsChunk.fromJson(Map<String, Object?> json)

Properties

avatarUrl Uri?
The URL for the room's avatar, if one is set.
getter/setter pair
canonicalAlias String?
The canonical alias of the room, if any.
getter/setter pair
guestCanJoin bool
Whether guest users may join the room and participate in it. If they can, they will be subject to ordinary power level rules like any other user.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
joinRule String?
The room's join rule. When not present, the room is assumed to be public.
getter/setter pair
name String?
The name of the room, if any.
getter/setter pair
numJoinedMembers int
The number of members joined to the room.
getter/setter pair
roomId String
The ID of the room.
getter/setter pair
roomType String?
The type of room (from m.room.create), if any.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String?
The topic of the room, if any.
getter/setter pair
worldReadable bool
Whether the room may be viewed by guest users without joining.
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.
inherited