Event class
Event Class defines a skeletone for basic 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
- Implementers
Constructors
Properties
- data → dynamic
-
data data supplied with this event to facilitate event's consumption
format of event should be predefined by the implementer
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → EventID
-
id of this event
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get<
R> ([dynamic id = 0]) → R? -
id
optional parameter can be anything -
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