ChatMessageModel class

Available extensions

Constructors

ChatMessageModel.new({required String chatUserJid, required String? contactType, required bool? isItCarbonMessage, required bool? isItSavedContact, required bool isMessageDeleted, required RxBool isMessageRecalled, required bool isMessageSentByMe, required RxBool isMessageStarred, required bool isThisAReplyMessage, required String messageChatType, required Map<String, dynamic> messageCustomField, required String messageId, required dynamic messageSentTime, required RxString 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 ↔ RxBool
getter/setter pair
isMessageSentByMe bool
getter/setter pair
isMessageStarred ↔ RxBool
getter/setter pair
isSelected ↔ RxBool
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 ↔ RxString
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

isAudioMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isFileMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isImageMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isMediaDownloaded() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isMediaMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isMediaUploaded() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isNotificationMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isTextMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

isVideoMessage() bool

Available on ChatMessageModel, provided by the ChatmessageParsing extension

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