RecentChatData constructor

RecentChatData({
  1. String? contactType,
  2. bool? isAdminBlocked,
  3. bool? isBlocked,
  4. bool? isBlockedMe,
  5. bool? isBroadCast,
  6. bool? isChatArchived,
  7. bool? isChatPinned,
  8. bool? isConversationUnRead,
  9. bool? isGroup,
  10. bool? isGroupInOfflineMode,
  11. bool? isItSavedContact,
  12. bool? isLastMessageRecalledByUser,
  13. bool? isLastMessageSentByMe,
  14. bool? isMuted,
  15. bool? isSelected,
  16. String? jid,
  17. String? lastMessageContent,
  18. String? lastMessageId,
  19. String? lastMessageStatus,
  20. dynamic lastMessageTime,
  21. String? lastMessageType,
  22. String? nickName,
  23. String? profileImage,
  24. String? profileName,
  25. dynamic unreadMessageCount,
})

Implementation

RecentChatData({
  this.contactType,
  this.isAdminBlocked,
  this.isBlocked,
  this.isBlockedMe,
  this.isBroadCast,
  this.isChatArchived,
  this.isChatPinned,
  this.isConversationUnRead, //// need to check
  this.isGroup,
  this.isGroupInOfflineMode,
  this.isItSavedContact,
  this.isLastMessageRecalledByUser,
  this.isLastMessageSentByMe,
  this.isMuted,
  this.isSelected,
  this.jid,
  this.lastMessageContent,
  this.lastMessageId,
  this.lastMessageStatus,
  this.lastMessageTime,
  this.lastMessageType,
  this.nickName,
  this.profileImage,
  this.profileName,
  this.unreadMessageCount,
});