appendElementInnerHTML function

void appendElementInnerHTML(
  1. Element element,
  2. String html, {
  3. NodeValidator? validator,
})

Appends to the inner HTML of element with parsed result of html.

Implementation

void appendElementInnerHTML(Element element, String html,
    {NodeValidator? validator}) {
  validator ??= _defaultNodeValidator;
  element.appendHtml(html, validator: validator);
}