GroundedItem class
Structured item distinguishing verified workspace facts from reasoned assumptions.
Constructors
- GroundedItem({required String text, required bool isFact, required String evidence})
- GroundedItem.assumption(String text, [String evidence = 'Inferred assumption; requires implementation verification'])
-
factory
- GroundedItem.fact(String text, String evidence)
-
factory
-
GroundedItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- evidence → String
-
Source evidence or reference (file path, symbol, or "Assumption: requires verification").
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFact → bool
-
Whether this statement is a verified fact (grounded in existing code/pubspec) or an unverified assumption.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The statement or claim.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited