AbstractEvent class abstract

AbstractEvent Base class of all the events.

Implementers

Constructors

AbstractEvent({required Set<SelfDescribingJson> contexts})
Default initialiser

Properties

contexts Set<SelfDescribingJson>
contexts Attached custom contexts
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach({required Set<SelfDescribingJson> contexts}) AbstractEvent
attach Attaches additional contexts to the event
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the event object to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited