DVDocsPage class
One page of the site.
Constructors
-
DVDocsPage({required String id, required String title, required List<
DVDocsBlock> blocks, String? source}) -
const
-
DVDocsPage.fromJson(Map<
String, Object?> json) -
factory
Properties
-
blocks
→ List<
DVDocsBlock> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
What a link names this page by, and what the application routes it at.
final
- path → String
-
The path the application serves this page at. Derived from id so the
two sides cannot disagree about it: the document never carries a URL.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
The file this page was rendered from, for a decision record.
final
- text → String
-
Everything this page has to say, as text. What the site's own find-in-page
would search.
no setter
- title → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
section(
String anchor) → List< DVDocsBlock> ? -
The blocks from the block anchored
anchorto the next heading of the same or a higher level, or null when nothing carries that anchor. -
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited