participantListComplete property

bool participantListComplete

Checks if the local participant list of joined and invited users is complete.

Implementation

bool get participantListComplete {
  final knownParticipants = getParticipants();
  knownParticipants.removeWhere(
      (u) => ![Membership.join, Membership.invite].contains(u.membership));
  return knownParticipants.length ==
      (summary.mJoinedMemberCount ?? 0) + (summary.mInvitedMemberCount ?? 0);
}