setApplicationUnreadCount method
Implementation
void setApplicationUnreadCount(List<V2TimFriendApplication>? applicationList) {
List<V2TimFriendApplication> filteredList = [];
if (applicationList != null && applicationList.length > 0) {
filteredList = applicationList.where((e) => e.type == 1).toList();
}
_applicationUnreadCount = filteredList.length;
notifyListener(TencentCloudChatContactDataKeys.applicationCount as T);
}