Text constructor
Constructor for creating a Text object.
The constructor initializes a Text object with optional named parameters:
type: The type attribute value of the text.lang: The lang attribute value of the text.start: The start attribute value of the text.end: The end attribute value of the text.value: The value of the text.
Implementation
Text({
this.type,
this.lang,
this.start,
this.end,
this.value,
});