clearLogin method
Implementation
Future<void> clearLogin() async {
_token = "";
userId = "";
_nickname = "";
account = "";
password = "";
phone = "";
var sp = await SharedPreferences.getInstance();
await save();
return;
}
Future<void> clearLogin() async {
_token = "";
userId = "";
_nickname = "";
account = "";
password = "";
phone = "";
var sp = await SharedPreferences.getInstance();
await save();
return;
}