HtmlDocument document

Root node for all content in a web page.

Source

HtmlDocument get document {
  if (_document != null) {
    return _document;
  }
  _document = window.document;
  return _document;
}