ChatThreadStore class abstract interface

A ChatStore that can also enumerate and delete threads — enough to drive a conversation list / sidebar.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String id) → Future<void>
Removes the thread id (no-op if absent).
listThreads() → Future<List<ChatThread>>
All stored threads, newest first.
load(String id) → Future<AiConversation?>
Returns the stored conversation for id, or null if none exists.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String id, AiConversation conversation) → Future<void>
Writes conversation for id, replacing any previous value.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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