TextNode constructor

const TextNode(
  1. String text
)

Creates a text leaf descriptor with text.

Implementation

const TextNode(this.text);