TextContent constructor

TextContent(
  1. String text
)

Creates a new TextContent with the given text.

Implementation

TextContent(this.text);