isInDocument<T extends TagXml> method
- T tag
Checks if this node is a descendant of the document thats tag
is.
Implementation
bool isInDocument<T extends TagXml>(T tag) => tag.root.descendantElements.contains(this);
Checks if this node is a descendant of the document thats tag
is.
bool isInDocument<T extends TagXml>(T tag) => tag.root.descendantElements.contains(this);