getTotalUnReadCount static method
Implementation
static Future<int> getTotalUnReadCount() async {
// return if (NotificationBuilder.chatNotifications.size == 0) FlyMessenger.getUnreadMessageCountExceptMutedChat() + CallLogManager.getUnreadMissedCallCount() else 1
var unReadMessageCount =
await Mirrorfly.getUnreadMessageCountExceptMutedChat();
var unReadCallCount = await Mirrorfly.getUnreadMissedCallCount();
return (unReadMessageCount ?? 0) + (unReadCallCount ?? 0);
}