ReplyParentChatMessage class
Represents a parent message that is being replied to.
Constructors
- ReplyParentChatMessage({required String chatUserJid, required bool isMessageDeleted, required bool isMessageRecalled, required bool isMessageSentByMe, required bool isMessageStarred, required String messageId, required int messageSentTime, required String? messageTextContent, required String messageType, required String senderNickName, required String senderUserName, required LocationChatMessage? locationChatMessage, required ContactChatMessage? contactChatMessage, required MediaChatMessage? mediaChatMessage})
- Constructs an instance of ReplyParentChatMessage.
-
ReplyParentChatMessage.fromJson(Map<
String, dynamic> json) -
Creates a ReplyParentChatMessage instance from a JSON map.
factory
Properties
- chatUserJid ↔ String
-
The JID of the user involved in the chat.
getter/setter pair
- contactChatMessage ↔ ContactChatMessage?
-
Details of the contact shared in the message. Nullable.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMessageDeleted ↔ bool
-
Indicates if the message has been deleted.
getter/setter pair
- isMessageRecalled ↔ bool
-
Indicates if the message has been recalled.
getter/setter pair
- isMessageSentByMe ↔ bool
-
Indicates if the message was sent by the current user.
getter/setter pair
- isMessageStarred ↔ bool
-
Indicates if the message is starred.
getter/setter pair
- locationChatMessage ↔ LocationChatMessage?
-
Details of the location shared in the message. Nullable.
getter/setter pair
- mediaChatMessage ↔ MediaChatMessage?
-
Details of the media shared in the message. Nullable.
getter/setter pair
- messageId ↔ String
-
The unique identifier of the message.
getter/setter pair
- messageSentTime ↔ int
-
The time the message was sent.
getter/setter pair
- messageTextContent ↔ String?
-
The text content of the message.
getter/setter pair
- messageType ↔ String
-
The type of message (e.g., text, image, video).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- senderNickName ↔ String
-
The nickname of the sender.
getter/setter pair
- senderUserName ↔ String
-
The username of the sender.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ReplyParentChatMessage instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited