SelfDescribing class

Implemented types
Annotations

Constructors

SelfDescribing(SelfDescribingJson eventData, {Set<SelfDescribingJson> contexts = const {}})
Creates a SelfDescribing event
const

Properties

contexts Set<SelfDescribingJson>
contexts Attached custom contexts
final
eventData SelfDescribingJson
eventData A self-describing JSON of a self describing event.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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