$ConversationItemEntityToJson function
Implementation
Map<String, dynamic> $ConversationItemEntityToJson(
ConversationItemEntity entity) {
final Map<String, dynamic> data = <String, dynamic>{};
data['conversationID'] = entity.conversationID;
data['unreadCount'] = entity.unreadCount;
data['type'] = entity.type;
data['lastMessage'] = entity.lastMessage?.toJson();
data['peerReadTime'] = entity.peerReadTime;
data['groupAtInfoList'] = entity.groupAtInfoList;
data['remark'] = entity.remark;
data['isPinned'] = entity.isPinned;
data['messageRemindType'] = entity.messageRemindType;
data['markList'] = entity.markList;
data['customData'] = entity.customData;
data['conversationGroupList'] = entity.conversationGroupList;
data['draftText'] = entity.draftText;
data['userProfile'] = entity.userProfile?.toJson();
data['groupProfile'] = entity.groupProfile?.toJson();
data['subType'] = entity.subType;
data['_isInfoCompleted'] = entity.isinfocompleted;
return data;
}