getProp function
Implementation
XmlElement? getProp(XmlElement? xml, String name) {
if (xml == null) return null;
final result = xml.findElements(name);
return result.isNotEmpty ? result.first : null;
}
XmlElement? getProp(XmlElement? xml, String name) {
if (xml == null) return null;
final result = xml.findElements(name);
return result.isNotEmpty ? result.first : null;
}