setConfig method
Replaces the complete configuration.
The new configuration is persisted.
Implementation
Future<void> setConfig(ThemeConfig config) async {
_config = config;
await _storage.save(_config);
notifyListeners();
}
Replaces the complete configuration.
The new configuration is persisted.
Future<void> setConfig(ThemeConfig config) async {
_config = config;
await _storage.save(_config);
notifyListeners();
}