clear method
Implementation
Future clear() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
await prefs.clear();
return true;
}
Future clear() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
await prefs.clear();
return true;
}