EventBus class
事件总线
基于 rxdart
的事件总线
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publishSubject → PublishSubject
-
no setter
- replaySubject → ReplaySubject
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void - 销毁
-
fire(
dynamic event, {bool sticky = false}) → void - 发送广播
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on<
T> () → Stream< T> - 监听广播的回调事件
-
onSticky<
T> () → Stream< T> - 监听粘性广播的回调事件
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited