RouteDocument constructor
const
RouteDocument({
- String? language,
- String? baseHref,
- String? title,
- String? description,
- String? canonical,
- List<
DocumentMeta> meta = const <DocumentMeta>[], - List<
DocumentLink> links = const <DocumentLink>[], - List<
Object?> jsonLd = const <Object?>[], - Map<
String, String?> htmlAttributes = const <String, String?>{}, - Map<
String, String?> bodyAttributes = const <String, String?>{}, - HtmlNode? body,
Creates one route document fragment.
Implementation
const RouteDocument({
this.language,
this.baseHref,
this.title,
this.description,
this.canonical,
this.meta = const <DocumentMeta>[],
this.links = const <DocumentLink>[],
this.jsonLd = const <Object?>[],
this.htmlAttributes = const <String, String?>{},
this.bodyAttributes = const <String, String?>{},
this.body,
});