LocalConfigService<T> constructor
- AppDirService appDirService,
- String fileName
LocalConfigService
is an abstract class designed to manage local configuration files.
It provides a generic interface for loading and saving configuration data of type T
.
This class leverages AppDirService to determine the directory where the configuration file should be stored.
Example:
class MyConfigService extends LocalConfigService<MyConfig> {
MyConfigService(AppDirService appDirService) : super(appDirService, "my_config.json");
// Implement loadConfig and saveConfig methods
}
Implementation
LocalConfigService