hasElement static method
Returns the value of a child XmlElement element
Implementation
static bool hasElement({required XmlElement node, required String tag}) {
try {
if (getChildElement(node: node, tag: tag) != null) return true;
//if (getChildElement(node: node, tag: tag.toUpperCase()) != null) return true;
//if (getChildElement(node: node, tag: tag.toLowerCase()) != null) return true;
} catch (e) {
Log().exception(e,
caller: 'xml.dart => String element({XmlElement node, String tag})');
}
return false;
}