totalCount property

int get totalCount

Implementation

int get totalCount {
  final sourceTotal = math.max(
    readReceiptResponse?.totalCount ?? readReceiptInfo?.totalCount ?? 0,
    0,
  );
  return sourceTotal > 0 ? sourceTotal : readCount + unreadCount;
}