void appendText(String text)

Adds the specified text after the last child of this element.

Source

void appendText(String text) {
  this.append(new Text(text));
}