clearLogin method

Future<void> clearLogin()

Implementation

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