isTextNode property
bool
get
isTextNode
Whether this node represents a text node
Implementation
bool get isTextNode => tag == '#text' && textContent != null;
Whether this node represents a text node
bool get isTextNode => tag == '#text' && textContent != null;