totalUnreadMessageCountStream property Null safety

Stream<int>? 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;
}