have key.
static bool? haveKey(String key) { if (_prefs == null) return null; return _prefs?.getKeys()?.contains(key); }