IEventBus class

Constructors

IEventBus()
factory

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

addListener({required String key, required EventCallback callback}) → void
添加监听
commit({required String key, dynamic arg}) → void
发送事件
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(String key) → void
移除监听
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance IEventBus
no setter