EventBusMixin mixin
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
-
emit(
Object eventName, [Object? arg]) → void - 全局广播 默认:globalBus.emit() 效果相同
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerEvents(
) → void - 注册
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterEvents(
) → void - 卸载
-
useBus(
) → EventBus -
useEvents(
) → List< MethodPair< ?VoidValueCallback> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited