EventBus class
全局事件总线
Constructors
- EventBus()
-
factory
Properties
Methods
-
dispose(
) → void - 销毁事件总线
-
emit(
dynamic event) → void - 发送事件
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on<
T> () → Stream< T> - 监听指定类型的事件
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited