Memory class
A stored memory unit — either episodic (event) or semantic (fact).
Constructors
Properties
-
associatedConceptIds
→ List<
String> -
Concepts that were active when this memory was formed.
final
- content → String
-
final
-
context
→ Map<
String, dynamic> -
Contextual metadata (location, time-of-day, mood, etc.).
final
- emotionalIntensity → double
-
final
- emotionalValence → EmotionalValence
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- recallCount ↔ int
-
How many times this memory has been recalled.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strength ↔ double
-
Memory strength / vividness (decays over time unless reinforced).
getter/setter pair
- timestamp → DateTime
-
final
- type → MemoryType
-
final
Methods
-
applyDecay(
{double halfLifeHours = 24.0}) → void - Apply temporal decay to the memory strength.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reinforce(
{double amount = 0.2}) → void - Reinforce the memory, increasing its strength.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited