getUnreadCountAsync property

Future<Map> getUnreadCountAsync

Retrieve a count of unread messages across all unrestricted/public channels for the user asynchronously.

Implementation

static Future<Map> get getUnreadCountAsync async {
  final Map unreadCountStatus =
  await _channel.invokeMethod('getUnreadCountAsync');
  return unreadCountStatus;
}