EventContext class
The events and state surrounding the requested event.
- Annotations
-
- @_NameSource('rule override generated')
Constructors
-
EventContext({String? end, MatrixEvent? event, List<
MatrixEvent> ? eventsAfter, List<MatrixEvent> ? eventsBefore, String? start, List<MatrixEvent> ? state}) -
EventContext.fromJson(Map<
String, Object?> json)
Properties
- end ↔ String?
-
A token that can be used to paginate forwards with.
getter/setter pair
- event ↔ MatrixEvent?
-
Details of the requested event.
getter/setter pair
-
eventsAfter
↔ List<
MatrixEvent> ? -
A list of room events that happened just after the
requested event, in chronological order.
getter/setter pair
-
eventsBefore
↔ List<
MatrixEvent> ? -
A list of room events that happened just before the
requested event, in reverse-chronological order.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start ↔ String?
-
A token that can be used to paginate backwards with.
getter/setter pair
-
state
↔ List<
MatrixEvent> ? -
The state of the room at the last event returned.
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