EventBus class
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(dynamic eventName, [dynamic data])
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
off(dynamic eventName, {String eventReceive = ''})
→ void
-
-
on(dynamic eventName, EventCallback f, {String eventReceive = ''})
→ void
-
eventName通知名称,eventReceive接收者名称(区分不同位置的监听,方便单个监听移除)
-
toString()
→ String
-
A string representation of this object.
inherited