queryTotalUnreadCount method Null safety

Future<NIMResult<int>> queryTotalUnreadCount(
  1. {NIMUnreadCountQueryType queryType = NIMUnreadCountQueryType.all}
)

Get the total unread count.

queryType The query type

Implementation

Future<NIMResult<int>> queryTotalUnreadCount({
  NIMUnreadCountQueryType queryType = NIMUnreadCountQueryType.all,
}) {
  return _platform.queryTotalUnreadCount(queryType: queryType);
}