text property

String get text

Get this node's text.

Implementation

String get text => _text;
set text (String newText)

Set this node's text (collapses whitespace -- if you don't want this, it's best to use CDATA!)

Implementation

set text(String newText) {
	_text = compact(newText);
}