SessionGroup class final
One main session with the subagent sessions nested under it (issue #198's shared grouping model). An orphaned subagent — its parent is deleted or simply absent from the listed set — renders as its own group with main carrying the subagent marker and no children.
Constructors
-
SessionGroup({required SessionMetadata main, List<
SessionMetadata> children = const []}) -
Creates a group;
childrenis already display-ordered by the caller of groupSessionsByParent.const
Properties
-
children
→ List<
SessionMetadata> -
Subagent sessions attached to main, parent's display order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- main → SessionMetadata
-
The main session heading the group (or an orphaned subagent).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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