appendText method

void appendText (
  1. String text
)

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

Implementation

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