EventDispatcherMixin mixin

A mixin that provides an Event dispatcher system with Listenable functionality.

You can notify all registered listeners using the notify method.

Implemented types
Mixin Applications

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

addListener(VoidCallback listener) → void
To be comply with Listenable.
override
dispose() → void
Removes all registered listeners.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
Notifies all registered listeners.
removeListener(VoidCallback listener) → void
To be comply with Listenable.
override
toString() String
A string representation of this object.
inherited

Operators

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