totalUnReadCount property

int get totalUnReadCount

会话未读消息总数

Implementation

int get totalUnReadCount {
  int count = 0;
  for (var item in value) {
    count += (item['conv_unread_num'] as int? ?? 0);
  }
  return count;
}