QueryPublicRoomsResponse class

A list of the published rooms on the server.

Constructors

QueryPublicRoomsResponse({required List<PublishedRoomsChunk> chunk, String? nextBatch, String? prevBatch, int? totalRoomCountEstimate})
QueryPublicRoomsResponse.fromJson(Map<String, Object?> json)

Properties

chunk ↔ List<PublishedRoomsChunk>
A paginated chunk of published 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 published 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