ReactterEventManager mixin
A mixin-class to provides the ability to manager events
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
-
dispose(
Object? instance) → void - Removes all instance's events
-
emit(
Object? instance, Enum eventName, [dynamic param]) → void -
Trigger
eventName
event with or without theparam
given. -
emitAsync(
Object? instance, Enum eventName, [dynamic param]) → Future< void> -
Trigger
eventName
event with or without theparam
given as async way. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off<
T, P> (Object? instance, Enum eventName, CallbackEvent< T, P> callback) → void -
Removes the
callback
of event. -
on<
T, P> (Object? instance, Enum eventName, CallbackEvent< T, P> callback) → void -
Puts on to listen
eventName
event. -
one<
T, P> (Object? instance, Enum eventName, CallbackEvent< T, P> callback) → void -
Puts on to listen
eventName
event only once. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited