get static method

Object? get(
  1. String key
)

Implementation

static Object? get(String key) {
  if (_preferences == null) {
    debugPrint('StorageUtil, need call await init() first');
    return null;
  }

  Object? value = _preferences!.get(key);
  return value;
}