检查是否包含指定键
Future<bool> containsKey(String key) async { final prefs = await _sharedPreferences; return prefs.containsKey(key); }