parseHTML static method

Element parseHTML(
  1. String data
)

parseHTML converts a string of HTML to a DOM element using the dart html library.

Implementation

static html.Element parseHTML(String data) {
  return html_parser.parse(data).documentElement!;
}