createTextNode method

TextNode createTextNode(
  1. String data, [
  2. BindingContext? context
])

Implementation

TextNode createTextNode(String data, [BindingContext? context]) {
  TextNode textNode = TextNode(data, context);
  textNode.ownerDocument = this;
  return textNode;
}