getString static method

String? getString(
  1. String key
)

📖 Get a String value (returns null if key doesn't exist).

Implementation

static String? getString(String key) {
  assert(_prefs != null, 'Call EaseXStorage.init() first!');
  return _prefs!.getString(key);
}