EventMap class

EventMap Class defines a skeletone for comples event

this class holds a single data as its argument that is optional also this should be used for simple notification events that either doen't require any data or single data for its operation

Inheritance

Constructors

EventMap(dynamic id, Map data)

Properties

data → dynamic
data data supplied with this event to facilitate event's consumption format of event should be predefined by the implementer
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id EventID
id of this event
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get<R>([dynamic id = 0]) → R?
Get Data of provide Type R and at an index id
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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