innerHtml property
String
get
innerHtml
Returns the HTML within this element, or an empty string if there is none.
Implementation
String get innerHtml {
if (node is html.Element) {
return (node as html.Element).innerHtml;
}
return node.text ?? "";
}