UniBus class
Constructors
- UniBus.new()
-
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
-
streamController
→ StreamController<
Map< String, dynamic> > -
no setter
Methods
-
fire(
String eventName, Map< String, dynamic> data) → Future<void> - 发送事件
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
String eventName) → Stream< Map< String, dynamic> > - 监听指定事件
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited