ChatMessageModel class

Constructors

ChatMessageModel({required String chatUserJid, required String? contactType, required bool? isItCarbonMessage, required bool? isItSavedContact, required bool isMessageDeleted, required bool isMessageRecalled, required bool isMessageSentByMe, required bool isMessageStarred, required bool isSelected, required bool isThisAReplyMessage, required String messageChatType, required Map<String, dynamic> messageCustomField, required String messageId, required dynamic messageSentTime, required String messageStatus, required String? messageTextContent, required String messageType, required ReplyParentChatMessage? replyParentChatMessage, required String senderNickName, required String senderUserJid, required String senderUserName, required ContactChatMessage? contactChatMessage, required MediaChatMessage? mediaChatMessage, required LocationChatMessage? locationChatMessage})
ChatMessageModel.fromJson(Map<String, dynamic> json)
factory

Properties

chatUserJid String
getter/setter pair
contactChatMessage ContactChatMessage?
getter/setter pair
contactType String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isItCarbonMessage bool?
getter/setter pair
isItSavedContact bool?
getter/setter pair
isMessageDeleted bool
getter/setter pair
isMessageRecalled bool
getter/setter pair
isMessageSentByMe bool
getter/setter pair
isMessageStarred bool
getter/setter pair
isSelected bool
getter/setter pair
isThisAReplyMessage bool
getter/setter pair
locationChatMessage LocationChatMessage?
getter/setter pair
mediaChatMessage MediaChatMessage?
getter/setter pair
messageChatType String
getter/setter pair
messageCustomField Map<String, dynamic>
getter/setter pair
messageId String
getter/setter pair
messageSentTime ↔ dynamic
getter/setter pair
messageStatus String
getter/setter pair
messageTextContent String?
getter/setter pair
messageType String
getter/setter pair
replyParentChatMessage ReplyParentChatMessage?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderNickName String
getter/setter pair
senderUserJid String
getter/setter pair
senderUserName String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited