EMCmdMessageBody class
命令消息体类。
- Inheritance
-
- Object
- EMMessageBody
- EMCmdMessageBody
Constructors
- EMCmdMessageBody({required String action, bool deliverOnlineOnly = false})
- 创建一个命令消息。
- EMCmdMessageBody.fromJson({required Map map})
Properties
- action ↔ String
-
命令内容。
latefinal
- deliverOnlineOnly ↔ bool
-
判断当前 CMD 类型消息是否只投递在线用户。
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type ↔ MessageType
-
获取消息类型。
read / writeinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited