WKCMDManager 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
-
addOnCmdListener(
String key, dynamic listener(WKCMD)) → void -
添加命令监听器
key
监听器唯一标识listener
命令回调函数 -
handleCMD(
dynamic json) → void - 处理从服务器接收的命令
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCmdListener(
String key) → void -
移除命令监听器
key
监听器唯一标识 -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
no setter