EventRule<T> class
An EventBus Subscriber
EventRule subscribe to EventBus's Event to call corresponding EventListener's callbacks.
Constructors
-
EventRule(Event<
T> event, {required List<EventListener< targets})T> > - An EventBus Subscriber
Properties
Methods
-
cancel(
) → void - To prevent memory leak, cancel the subscription once there is no need for this EventRule
-
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