Listing class

Constructors

Listing({String? lastModified, String? name})
Returns a new Listing instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
lastModified ↔ String?
LastModified is when the BYTES last changed, as RFC 3339 in UTC to the second — 2026-01-02T03:04:05Z, the sandbox's own date -u -r on the file. It is an mtime and not a creation time, so a file a later run overwrote carries that run's clock. Never empty: a row exists only because find stat-ed the file.
getter/setter pair
name ↔ String?
Name is the file's IDENTIFIER, {session_id}/{fileId} whole — never the bare filename, and never URL-escaped. It is exactly what GET /v1/exec/download takes after its prefix, and hanzo.chat matches it as a PREFIX (name.startsWith(session + \"/\")) to decide which rows belong to a session it is holding. fileId is the path RELATIVE to the session's artifact directory, so it carries / for anything the run wrote in a sub-directory.
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) → Listing?
Returns a new Listing instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Listing>
mapFromJson(dynamic json) → Map<String, Listing>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Listing>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.