SearchIndexBuild class final
The result of walking a content directory: the indexed docs, plus the exact JSON that would be written for them.
Constructors
-
SearchIndexBuild({required List<
SearchDoc> docs, required String json}) -
const
Properties
-
docs
→ List<
SearchDoc> -
One entry per markdown file found under the content directory.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- json → String
-
{"v": 1, "docs": [...]}, pretty-printed with a trailing newline — exactly the bytes writeSearchIndex writes.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionCount → int
-
The total number of heading-delimited sections across all docs.
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