getString static method

String? getString(
  1. String key
)

Retrieves a String value from storage.

Implementation

static String? getString(String key) {
  return _prefs?.getString(key);
}