put string.
static Future<bool>? putString(String key, String? value) { if (_prefs == null) return null; return _prefs?.setString(key, value??''); }