saveString static method
Implementation
static Future<bool> saveString(String key, String? value,
[String defaultValue = ""]) async {
final prefs = await SharedPreferences.getInstance();
return prefs.setString(key, value ?? defaultValue);
}
static Future<bool> saveString(String key, String? value,
[String defaultValue = ""]) async {
final prefs = await SharedPreferences.getInstance();
return prefs.setString(key, value ?? defaultValue);
}