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

hasConfig bool
Checks if configuration exists.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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