WkMessage class

线程通讯消息

Constructors

WkMessage(WkSignal signal, int id, String type, dynamic data)

Properties

data → dynamic
自定义数据
final
hashCode int
The hash code for this object.
no setterinherited
id int
消息唯一标志
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signal WkSignal
消息信号类型
final
type String
自定义类型
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

runZonedGuardedError → const String
未处理的异常