Future remove(String key) async { SharedPreferences prefs = await SharedPreferences.getInstance(); await prefs.remove(key); }