BlogPost class
Um post de blog carregado de um arquivo markdown (frontmatter + corpo).
Constructors
Properties
-
final
- bodyMarkdown → String
-
Corpo do post em Markdown (renderizado para HTML na exibição).
final
- category → Category?
-
Categoria principal (hierárquica). Nula se não classificado.
final
- date → DateTime
-
final
- description → String
-
final
- draft → bool
-
Se
true, o post é rascunho e não é publicado/indexado.final - hashCode → int
-
The hash code for this object.
no setterinherited
- image → String?
-
final
- path → String
-
Caminho público do post (ex.:
/blog/meu-post).no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String
-
Identificador na URL (geralmente o nome do arquivo sem
.md).final - subtitle → String?
-
Linha-fina / subtítulo (estilo G1) exibida sob o título. Opcional.
final
-
Tags transversais.
final
- title → String
-
final
- views → int
-
Número de acessos (frontmatter
views) — usado em "Mais acessados".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