setElementInnerHTML function
Sets the inner HTML of element
with parsed result of html
.
Implementation
void setElementInnerHTML(Element element, String html,
{NodeValidator? validator}) {
validator ??= _defaultNodeValidator;
// ignore: unsafe_html
element.setInnerHtml(html, validator: validator);
}