unreadConversationCount method
You can check how many unread conversations a user has even if a user dismisses a notification.
You can get the current unread conversation count with this method.
Implementation
@override
Future<int> unreadConversationCount() async {
final result = await _channel.invokeMethod<int>('unreadConversationCount');
return result ?? 0;
}