ChatMessage constructor

ChatMessage({
  1. String? chatUserJid,
  2. String? contactType,
  3. bool? isItCarbonMessage,
  4. bool? isItSavedContact,
  5. bool? isMessageDeleted,
  6. bool? isMessageRecalled,
  7. bool? isMessageSentByMe,
  8. bool? isMessageStarred,
  9. bool? isThisAReplyMessage,
  10. bool? isSelected,
  11. List? mentionedUsersIds,
  12. String? messageChatType,
  13. Map<String, dynamic>? messageCustomField,
  14. String? messageId,
  15. dynamic messageSentTime,
  16. String? messageStatus,
  17. String? messageTextContent,
  18. String? messageType,
  19. ReplyParentChatMessage? replyParentChatMessage,
  20. String? senderNickName,
  21. String? senderUserJid,
  22. String? senderUserName,
  23. ContactChatMessage? contactChatMessage,
  24. MediaChatMessage? mediaChatMessage,
  25. LocationChatMessage? locationChatMessage,
})

Implementation

ChatMessage({
  this.chatUserJid,
  this.contactType,
  this.isItCarbonMessage,
  this.isItSavedContact,
  this.isMessageDeleted,
  this.isMessageRecalled,
  this.isMessageSentByMe,
  this.isMessageStarred,
  this.isThisAReplyMessage,
  this.isSelected,
  this.mentionedUsersIds,
  this.messageChatType,
  this.messageCustomField,
  this.messageId,
  this.messageSentTime,
  this.messageStatus,
  this.messageTextContent,
  this.messageType,
  this.replyParentChatMessage, //
  this.senderNickName,
  this.senderUserJid,
  this.senderUserName,
  this.contactChatMessage, //
  this.mediaChatMessage, //
  this.locationChatMessage, //
});