PromptFact class

Plain text fact tuple supplied by the host. Kept minimal — facts in mcp_fact_graph are richer, but the prompt only needs a one-liner for each fact, so the host extracts what it wants and feeds it here.

Constructors

PromptFact({required String subject, required String body, String? tag})
const

Properties

body String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String
final
tag String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited