TTEvent<T, U, V> class
Generic event/listener system
Properties
Methods
-
listenerCount(
) → num - @returns number of currently subscribed listeners
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
EventCb< T, U, V> cb) → TTEvent<T, U, V> - Unregister a listener on this event @param cb the callback to unsubscribe
-
on(
EventCb< T, U, V> cb) → TTEvent<T, U, V> - Register a listener on this event
-
reset(
) → TTEvent< T, U, V> - Unregister all listeners on this event
-
toString(
) → String -
A string representation of this object.
inherited
-
trigger(
T a, [U? b, V? c]) → TTEvent< T, U, V> - Trigger this event
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited