ImageRegistry class final

The per-window image registry: content-keyed, rebuilt deterministically from a message list (issue #171 I2).

Properties

hashCode → int
The hash code for this object.
no setterinherited
indexByKey → Map<String, int>
The {content key → index} map (deterministic for one window).
no setter
length → int
Number of unique images in the window.
no setter
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

Static Methods

scan(List<Message> messages) → ImageRegistry
Scans messages (oldest first) assigning indexes in first-seen order over every image-bearing user message and tool result.