RecentChat constructor
RecentChat({
- String? contactType,
- bool? isAdminBlocked,
- bool? isBlocked,
- bool? isBlockedMe,
- bool? isBroadCast,
- bool? isChatArchived,
- bool? isPrivateChat,
- bool? isChatPinned,
- bool? isConversationUnRead,
- bool? isGroup,
- bool? isGroupInOfflineMode,
- bool? isItSavedContact,
- bool? isLastMessageRecalledByUser,
- bool? isLastMessageSentByMe,
- bool? isMuted,
- bool? isSelected,
- String? jid,
- String? lastMessageContent,
- String? lastMessageId,
- String? lastMessageStatus,
- dynamic lastMessageTime,
- String? lastMessageType,
- String? nickName,
- String? profileImage,
- String? profileName,
- dynamic unreadMessageCount,
- String? topicId,
- 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});