SessionUsageSnapshot class final

The stat-based usage walk result (O(directory entries), never O(file bytes)).

Constructors

SessionUsageSnapshot({required List<SessionDiskUsage> sessions, required int totalBytes, List<String> notes = const []})
Creates the snapshot.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
No sessions (or no root).
no setter
notes → List<String>
Walk anomalies (skipped symlinks, unreadable headers).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessions → List<SessionDiskUsage>
One entry per identifiable session file under the root.
final
totalBytes → int
Sum of the root-side unit bytes (what the cap measures).
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