SessionDigest class

Structured digest of an ended learning session — written to learning_sessions.summary jsonb. Mirrors the JSON shape produced by the server's SESSION_DIGEST_PROMPT.

Constructors

SessionDigest({required List<String> topicsCovered, required List<String> gapsSurfaced, required List<String> decisionsMade, required String oneSentenceSummary})
const
SessionDigest.fromJson(Map<String, dynamic> json)
factory

Properties

decisionsMade List<String>
final
gapsSurfaced List<String>
final
hashCode int
The hash code for this object.
no setterinherited
oneSentenceSummary String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topicsCovered List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recapBullets() List<String>
Three short bullets the UI shows above the reflection form so the learner reflects on a real artifact, not memory. Picks the highest signal items: topics_covered first, then gaps_surfaced.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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