EventManager class abstract

Event manager interface Implements by classes help to manage events.

Implementers

Constructors

EventManager()

Properties

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<E extends Event>(EventListener<E> listener, {int priority = 0}) → void
Add event listener, it will be trigger when event dispatched.
dispatchEvent<E extends Event>(E event) FutureOr<void>
Dispatch given events.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener<E extends Event>(EventListener<E> listener) → void
Remove registered event listener
toString() String
A string representation of this object.
inherited

Operators

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