participantListComplete property
bool
participantListComplete
Checks if the local participant list of joined and invited users is complete.
Implementation
bool get participantListComplete {
final knownParticipants = getParticipants();
final joinedCount =
knownParticipants.where((u) => u.membership == Membership.join).length;
final invitedCount = knownParticipants
.where((u) => u.membership == Membership.invite)
.length;
return (summary.mJoinedMemberCount ?? 0) == joinedCount &&
(summary.mInvitedMemberCount ?? 0) == invitedCount;
}