MemoryConversationStorage class

Enhanced in-memory implementation of conversation storage.

Implemented types

Constructors

MemoryConversationStorage.new()
Creates a new MemoryConversationStorage instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Gets the number of active conversations.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Future<void>
Clears all conversation state.
override
get(String key) Future<ConversationState?>
Gets conversation state for a key.
override
getAllKeys() Future<List<String>>
Gets all conversation keys.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String key) Future<bool>
Removes conversation state for a key.
override
set(String key, ConversationState state) Future<void>
Sets conversation state for a key.
override
toString() String
A string representation of this object.
override

Operators

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