getKeys static method

Set<String>? getKeys()

get keys. 获取sp中所有的key

Implementation

static Set<String>? getKeys() {
  if (_prefs == null) {
    return null;
  }
  return _prefs?.getKeys();
}