SessionMetadata class final
Metadata describing a stored session.
Ported from pi's SessionMetadata / JsonlSessionMetadata.
Constructors
Properties
- createdAt → DateTime
-
When the session was created (from the header).
final
- cwd → String
-
Working directory the session belongs to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique session id.
final
- lastUpdatedAt → DateTime?
-
When the session file was last modified, if known.
final
-
metadata
→ Map<
String, dynamic> ? -
Free-form application metadata from the header.
final
- parentSessionPath → String?
-
Path of the session this one was forked from, if any.
final
- path → String
-
Path of the JSONL file in the environment's filesystem.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeBytes → int?
-
Size of the session file in bytes, when known from the filesystem.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited