EventStore<E extends Event> class

Store EventListener and its priority of events type E.

Constructors

EventStore()

Properties

eventListeners Iterable<EventListener<E>>
EventListener iterable of event E had add before.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(EventListener<E> listener, {int priority = 0}) → void
Add EventListener of event E.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(EventListener<E> listener) → void
Remove registered EventListener
toString() String
A string representation of this object.
inherited

Operators

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