EventContext class

The events and state surrounding the requested event.

Annotations
  • @_NameSource('rule override generated')

Constructors

EventContext({String? end, SDNEvent? event, List<SDNEvent>? eventsAfter, List<SDNEvent>? eventsBefore, String? start, List<SDNEvent>? state})
EventContext.fromJson(Map<String, Object?> json)

Properties

end String?
A token that can be used to paginate forwards with.
getter/setter pair
event SDNEvent?
Details of the requested event.
getter/setter pair
eventsAfter List<SDNEvent>?
A list of room events that happened just after the requested event, in chronological order.
getter/setter pair
eventsBefore List<SDNEvent>?
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 setterinherited
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<SDNEvent>?
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.
inherited