EventDTOImpl<T> class

Implemented types

Constructors

EventDTOImpl(Topic topic, T data, {Map<String, String>? arguments})

Properties

arguments ↔ Map<String, String>?
getter/setter pairoverride-getter
data ↔ T
getter/setter pairoverride-getter
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic ↔ Topic
getter/setter pairoverride-getter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Event representation for logs and serialization. Data is returned as is: encoding is up to the caller, so an arbitrary object in data no longer breaks the method.
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson<T>(Map<String, dynamic> json, {T dataConverter(String topic, dynamic data)?}) → EventDTO<T>