totalUnreadMessageCountStream property

Stream<int>? get totalUnreadMessageCountStream

Returns a stream to listen message count has been changed

Implementation

Stream<int>? get totalUnreadMessageCountStream {
  if (currentUser == null) throw ConnectionRequiredError();
  return _int.streamManager.unread.stream;
}