restoreStashedState method
Restores stashed state saved under key into sequenceId, replacing
that sequence's cache. The stash entry is kept until
dropStashedState.
Resolves to the tokens restored; throws LlamaException when key
has no entry or the copy fails (the sequence is then left empty).
Implementation
Future<int> restoreStashedState(String key, {int sequenceId = 0}) =>
_isolate.restoreStashedState(id, sequenceId, key);