createHtml method

NodeReference createHtml(
  1. BindingSource html,
  2. CompileElement parent,
  3. int nodeIndex
)

Implementation

NodeReference createHtml(
  ir.BindingSource html,
  CompileElement parent,
  int nodeIndex,
) {
  final renderNode = NodeReference.html(storage, nodeIndex);
  _initializeAndAppendNode(parent, renderNode,
      o.importExpr(Identifiers.createTrustedHtml).callFn([_textValue(html)]));
  return renderNode;
}