isStringElement property
Returns true
if this node is a String element (a Text node or DOMElement.isStringTagName).
Implementation
@override
bool get isStringElement {
if (node is Text) {
return true;
} else if (node is Element) {
return DOMElement.isStringTagName(tagName);
}
return false;
}