ConfigService class
Service for managing Spectra configuration.
Uses encrypted storage for API keys and preferences. Automatically migrates from legacy YAML format if detected.
Constructors
- ConfigService()
-
factory
Properties
Methods
-
clearConfig(
) → Future< void> - Clears all configuration data.
-
loadConfig(
) → Future< SpectraConfig> - Loads configuration from secure storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveConfig(
SpectraConfig config) → Future< void> - Saves configuration to secure storage.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited