txt function

TextNode txt(
  1. String text
)

Creates a TextNode node with the given text.

Implementation

TextNode txt(String text) => TextNode._(text);