EMCustomMessageBody class

~english The custom message body. ~end

~chinese 自定义消息体类。 ~end

Constructors

EMCustomMessageBody({required String event, Map<String, String>? params})
~english Creates a custom message. ~end
EMCustomMessageBody.fromJson({required Map map})

Properties

event String
~english The event. ~end
latefinal
hashCode int
The hash code for this object.
no setterinherited
params Map<String, String>?
~english The custom params map. ~end
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type MessageType
~english Gets the chat message type. ~end
getter/setter pairinherited

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