RecentChat constructor

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

Constructs a RecentChat object with the provided parameters.

Implementation

RecentChat(
    {this.contactType,
    this.isAdminBlocked,
    this.isBlocked,
    this.isBlockedMe,
    this.isBroadCast,
    this.isChatArchived,
    this.isPrivateChat,
    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,
    this.topicId,
    this.metaData});