TextElement class Null safety
A class that holds the information of a parsed element.
An array of the strings that have matched each smaller pattern
enclosed with parentheses in a match pattern.
- hashCode → int
The hash code for this object.
- matcherType → Type
The type of the matcher whose match pattern has matched the text.
If the type is TextMatcher, it means no patterns have matched it.
- offset → int
The offset where the text starts in the source text.
- runtimeType → Type
A representation of the runtime type of the object.
- text → String
The string that has matched the pattern in one of the matchers
specified in TextParser, or that has not matched any pattern.