SpaceRoomsChunk class

Implemented types
Annotations
  • @_NameSource('rule override generated')

Constructors

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

Properties

avatarUrl Uri?
The URL for the room's avatar, if one is set.
getter/setter pairoverride
canonicalAlias String?
The canonical alias of the room, if any.
getter/setter pairoverride
childrenState List<ChildrenState>
The m.space.child events of the space-room, represented as Stripped State Events with an added origin_server_ts key.
getter/setter pairoverride
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 pairoverride
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 pairoverride
name String?
The name of the room, if any.
getter/setter pairoverride
numJoinedMembers int
The number of members joined to the room.
getter/setter pairoverride
roomId String
The ID of the room.
getter/setter pairoverride
roomType String?
The type of room (from m.room.create), if any.
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String?
The topic of the room, if any.
getter/setter pairoverride
worldReadable bool
Whether the room may be viewed by guest users without joining.
getter/setter pairoverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited