persistValue method
Implementation
dynamic persistValue(String key, dynamic value) {
final configs = _readConfigs();
if (!configs.containsKey(key)) {
configs[key] = value;
_writeConfigs(configs);
}
return configs[key];
}
dynamic persistValue(String key, dynamic value) {
final configs = _readConfigs();
if (!configs.containsKey(key)) {
configs[key] = value;
_writeConfigs(configs);
}
return configs[key];
}