DocSearchIndexer class
Generates client-side and full-text search indexes (search.json).
Constructors
- DocSearchIndexer()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
extractEntries(
{required String pageTitle, required String pageUrl, required String markdownContent, List< String> tags = const []}) → List<SearchIndexEntry> -
Extracts headings (
#,##,###) and paragraphs from markdown into search entries. -
generateJsonIndex(
List< SearchIndexEntry> entries) → String - Serializes a list of search entries into a compact JSON index document.
-
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