document function
A whole page; bodyAttributes go on <body>.
Implementation
HtmlDocument document(
List<Object?> body, {
String title = '',
List<Object?> head = const [],
String lang = 'en',
Map<String, Object?> bodyAttributes = const {},
}) => HtmlDocument(
body,
title: title,
head: head,
lang: lang,
bodyAttributes: bodyAttributes,
);