StateLoadResult class
Result of BackendStatePersistence.stateLoadFile. Contains the token sequence saved alongside the native KV-cache state.
Loading restores the native KV cache only. Callers using higher-level chat abstractions must persist and reconstruct their chat message history separately; these raw token IDs are exposed mainly for diagnostics and raw-prompt callers.
Constructors
-
StateLoadResult({required List<
int> tokens}) -
Creates a new StateLoadResult.
const
Properties
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