ResultRoomEvents class

Annotations
  • @_NameSource('spec')

Constructors

ResultRoomEvents({int? count, Map<String, Map<String, GroupValue>>? groups, List<String>? highlights, String? nextBatch, List<Result>? results, Map<String, List<MatrixEvent>>? state})
ResultRoomEvents.fromJson(Map<String, Object?> json)

Properties

count int?
An approximate count of the total number of results found.
getter/setter pair
groups Map<String, Map<String, GroupValue>>?
Any groups that were requested.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
highlights List<String>?
List of words which should be highlighted, useful for stemming which may change the query terms.
getter/setter pair
nextBatch String?
Token that can be used to get the next batch of results, by passing as the next_batch parameter to the next call. If this field is absent, there are no more results.
getter/setter pair
results List<Result>?
List of results in the requested order.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state Map<String, List<MatrixEvent>>?
The current state for every room in the results. This is included if the request had the include_state key set with a value of true.
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