RouteDocument constructor

const RouteDocument({
  1. String? language,
  2. String? baseHref,
  3. String? title,
  4. String? description,
  5. String? canonical,
  6. List<DocumentMeta> meta = const <DocumentMeta>[],
  7. List<DocumentLink> links = const <DocumentLink>[],
  8. List<Object?> jsonLd = const <Object?>[],
  9. Map<String, String?> htmlAttributes = const <String, String?>{},
  10. Map<String, String?> bodyAttributes = const <String, String?>{},
  11. 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,
});