KnowledgeContextHit class
A cited passage selected as a match, governing source, or related context.
Constructors
- KnowledgeContextHit(SearchResult result, String reason, {String? viaPath, OkfGraphEdge? edge, OkfFieldEdge? fieldEdge})
-
const
Properties
- edge → OkfGraphEdge?
-
The okf graph edge a
relationshiphit was reached through, or fieldEdge when a frontmatter link field declared it.final - fieldEdge → OkfFieldEdge?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String
-
final
- result → SearchResult
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viaPath → String?
-
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