BroadcastHelper class

create_user: zhengzaihong email:1096877329@qq.com create_date: 2022/7/20 create_time: 10:10 describe: 全局 订阅模式

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

close() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(dynamic target, void onData(Object? object), {Function? onError, void onDone()?, bool? cancelOnError}) → void
sendBroadcast(dynamic target, {Object? object}) → void
toString() String
A string representation of this object.
inherited
unRegister(dynamic target) → void

Operators

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

Static Methods

getInstance() BroadcastHelper