EasyBus class
- 功能:创建EasyBus工具类
Constructors
- EasyBus()
-
工厂构造函数
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
-
clear(
) → void -
free<
T> ({dynamic data}) → void - 释放回调
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on<
T> () → EventSubscription< T> - 注册事件
-
send(
dynamic data) → void - 事件发送
-
simpleOn(
) → EventSubscription< SimpleBean> -
simpleSend(
String key, dynamic obj) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited