findElements function
Implementation
Iterable<XmlElement>? findElements(
XmlNode? node,
String name, {
bool recursive = false,
String? namespace,
}) {
try {
if (recursive) {
return node?.findAllElements(name, namespace: namespace);
} else {
return node?.findElements(name, namespace: namespace);
}
} on StateError {
return null;
}
}