HtmlDocument class final

A whole page: <!doctype html>, <head> with title, charset and viewport, and body.

Inheritance

Constructors

HtmlDocument(List<Object?> body, {String title = '', List<Object?> head = const [], String lang = 'en'})

Properties

body → List<HtmlNode>
final
hashCode → int
The hash code for this object.
no setterinherited
final
lang → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render() → String
inherited
toResponse(Request request) → Response
inherited
toString() → String
A string representation of this object.
inherited
writeTo(StringSink out) → void
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited