TextNode constructor

TextNode(
  1. String _text, [
  2. bool? hasTemplateToResolve
])

Implementation

TextNode(this._text, [bool? hasTemplateToResolve])
    : _hasUnresolvedTemplate =
          hasTemplateToResolve ?? DOMTemplate.possiblyATemplate(_text),
      super._(false, false);