parseHtmlDocument function
Parses a HtmlDocument.
import 'package:universal_html/parsing.dart';
void main() {
final document = parseHtmlDocument('<html>...</html>');
}
Implementation
HtmlDocument parseHtmlDocument(
String content, {
Window? window,
}) {
window ??= universal_html.window;
return impl.parseHtmlDocument(
window: window,
content: content,
);
}