GetPublicRoomsResponse class
A list of the rooms on the server.
- Annotations
-
- @_NameSource('generated')
Constructors
-
GetPublicRoomsResponse({required List<
PublicRoomsChunk> chunk, String? nextBatch, String? prevBatch, int? totalRoomCountEstimate}) -
GetPublicRoomsResponse.fromJson(Map<
String, Object?> json)
Properties
-
chunk
↔ List<
PublicRoomsChunk> -
A paginated chunk of public rooms.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- nextBatch ↔ String?
-
A pagination token for the response. The absence of this token
means there are no more results to fetch and the client should
stop paginating.
getter/setter pair
- prevBatch ↔ String?
-
A pagination token that allows fetching previous results. The
absence of this token means there are no results before this
batch, i.e. this is the first batch.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalRoomCountEstimate ↔ int?
-
An estimate on the total number of public rooms, if the
server has an estimate.
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