getParticipantNames method

Iterable<String> getParticipantNames(
  1. MeshDocument document
)

Implementation

Iterable<String> getParticipantNames(MeshDocument document) sync* {
  for (final child in document.root.getChildren().whereType<MeshElement>()) {
    if (child.tagName == "members") {
      for (final member in child.getChildren().whereType<MeshElement>()) {
        if (member.attributes["name"] != null) {
          yield member.attributes["name"];
        }
      }
    }
  }
}