persistValue method

String persistValue(
  1. String key,
  2. String value
)

Implementation

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

  return configs[key];
}