Pages/AiPlaygroundPage/playground_settings_store library

Classes

PlaygroundSettingsStore
Where the playground keeps its settings between runs; the API key never reaches it.

Functions

decodePlaygroundSettings(String text) → dynamic
defaultPlaygroundSettingsStore() → PlaygroundSettingsStore
A JSON file in the app's support directory on native builds; the browser's local storage on the web.
encodePlaygroundSettings(dynamic settings) → String
The one encoding every store writes, so no store can carry the key.