ContentDocument class
Represents parsed content with frontmatter and body
Constructors
Properties
- description → String?
-
Get description from frontmatter
no setter
- draft → bool
-
Get draft status from frontmatter
no setter
-
frontmatter
→ Map<
String, dynamic> -
Frontmatter metadata (title, description, etc.)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- htmlContent → String
-
Parsed HTML content
final
- layout → String?
-
Get layout from frontmatter
no setter
- order → int
-
Get navigation order from frontmatter
no setter
- path → String
-
File path relative to content directory
final
- rawContent → String
-
Raw markdown body content
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String
-
Slug derived from file path
final
-
tableOfContents
→ List<
TocEntry> -
Table of contents extracted from headings
final
- title → String
-
Get title from frontmatter
no setter
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