logout method

void logout()

Implementation

void logout() {
  token = null;
  user = null;
  if (loginObj != null) loginObj = Login(appId!, appKey!);
  innerLogin();
}