ChatCustomMessageBody class
~english The custom message body. ~end
~chinese 自定义消息体类。 ~end
- Inheritance
-
- Object
- ChatMessageBody
- ChatCustomMessageBody
Constructors
-
ChatCustomMessageBody({required String event, Map<
String, String> ? params}) - ~english Creates a custom message. ~end
- ChatCustomMessageBody.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
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited