MemoryConfig class final

Parsed memory: section. Both fields optional; null = default path.

Constructors

MemoryConfig({String? projectPath, String? userPath})
const
MemoryConfig.fromYaml(Object? node)
Parses the section strictly: a non-map node, unknown keys, and non-string values throw ConfigException (a typo must surface, not silently write memory somewhere unexpected).
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
projectPath → String?
Project-scope storage path. Absolute used as-is; relative resolves against the project root.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userPath → String?
User-scope storage path. A leading ~/ expands against the user home; absolute used as-is; relative resolves against the user root.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveProjectPath(String projectRoot) → String
Resolves projectPath against projectRoot (null → the default <projectRoot>/.fah/memory).
resolveUserPath(String userRoot) → String
Resolves userPath against userRoot (null → the default <userRoot>/.fah/memory; ~/x → <userRoot>/x).
toString() → String
A string representation of this object.
inherited

Operators

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