RouteMeta class
Metadados de UMA rota — a fonte única de verdade. A partir dela o framework deriva automaticamente: meta tags, Open Graph/Twitter, JSON-LD, entrada no sitemap, item do llms.txt e conteúdo do llms-full.txt.
A mesma definição alimenta o roteamento web (jaspr_router), a navegação do app (go_router) e os geradores de SEO.
Constructors
-
RouteMeta({required String path, required String title, required String description, PageKind kind = PageKind.website, String? image, ChangeFreq? changeFreq, double? priority, DateTime? lastmod, List<
String> keywords = const [], bool noindex = false, String? section, String? summary, String? markdown, List<FaqItem> faqs = const [], List<SeoService> services = const [], List<Breadcrumb> breadcrumbs = const [], String? author, DateTime? datePublished, Map<String, String> alternates = const {}}) -
const
Properties
-
alternates
→ Map<
String, String> -
Variantes de idioma:
locale→ URL absoluta (hreflang).final -
Autor (Article/BlogPosting).
final
-
Trilha de navegação → JSON-LD BreadcrumbList.
final
- changeFreq → ChangeFreq?
-
Frequência de atualização (sitemap).
final
- datePublished → DateTime?
-
Data de publicação (Article/BlogPosting).
final
- description → String
-
Descrição (≤ ~155 chars). Vira
<meta description>eog:description.final - effectiveSummary → String
-
Resumo efetivo usado em listagens/llms.
no setter
-
faqs
→ List<
FaqItem> -
Perguntas/respostas → JSON-LD FAQPage (AEO).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → String?
-
Imagem social absoluta ou relativa (1200×630 ideal).
final
-
keywords
→ List<
String> -
Palavras-chave / entidades nomeadas (reforço GEO).
final
- kind → PageKind
-
Tipo semântico — define
og:typee o@typedo JSON-LD.final - lastmod → DateTime?
-
Última modificação — reusada em
lastmod,dateModifiede meta.final - markdown → String?
-
Conteúdo markdown completo da página para o llms-full.txt.
final
- noindex → bool
-
Se
true, emitenoindexe é omitida do sitemap.final - path → String
-
Caminho absoluto da rota no site (ex.:
/,/blog/post-1).final - priority → double?
-
Prioridade 0.0–1.0 (sitemap).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- section → String?
-
Seção para agrupar no llms.txt (ex.: 'Docs', 'Blog').
final
-
services
→ List<
SeoService> -
Serviços da página → JSON-LD
Service(GEO). Ideal em páginas /serviços.final - summary → String?
-
Resumo curto para o llms.txt (fallback: description).
final
- title → String
-
Título da página (≤ ~60 chars). Vira
<title>,og:title, headline.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited