addText method

void addText(
  1. String text
)

Adds a child text node

Implementation

void addText(String text) {
  children.add(Text(text));
}