getString static method
Implementation
static String getString(String key, {String defaultValue = ""}) {
final cached = _cache[key];
if (cached is String) return cached;
final value = prefs!.getString(key) ?? defaultValue;
_cache[key] = value;
return value;
}