getString static method

String getString(
  1. String key
)

Implementation

static String getString(String key) {
  return _prefs == null ? 'DEFAULT_VALUE' : _prefs!.getString(key) ?? "";
}