unreadMessageCount property

Future<int> get unreadMessageCount

Retrieves the count of unread messages in the inbox.

Returns a Future that resolves to an integer representing the unread count.

Implementation

Future<int> get unreadMessageCount async {
  return await _module.channel
      .invokeMethod('messageCenter#getUnreadMessageCount');
}