ChatMessageModel constructor

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

Implementation

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