getOfflineParticipants method
Implementation
Iterable<String> getOfflineParticipants(MeshDocument document) sync* {
for (final participantName in getParticipantNames(document)) {
bool found = false;
if (room.messaging.remoteParticipants.where((x) => x.getAttribute("name") == participantName).isNotEmpty ||
participantName == room.localParticipant?.getAttribute("name")) {
found = true;
}
if (!found) {
yield participantName;
}
}
}