isSeen method

bool isSeen(
  1. Set<String> participants
)

Implementation

bool isSeen(Set<String> participants) {
  return participants.every((e) {
    if (e == me) return true;
    return statuses[e] == MessageStatus.seen;
  });
}