EMCustomMessageBody class

自定义消息体类。

Inheritance

Constructors

EMCustomMessageBody({required String event, Map<String, String>? params})
自定义消息体类。
EMCustomMessageBody.fromJson({required Map map})

Properties

event String
自定义事件内容。
latefinal
hashCode int
The hash code for this object.
read-onlyinherited
params Map<String, String>?
自定义消息的键值对 Map 列表。
read / write
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