TextNode constructor

TextNode(
  1. String text
)

Creates a text node containing text.

Implementation

TextNode(this.text);