setAutologin method

dynamic setAutologin()

Implementation

setAutologin() {
  if (loginError != null) {
    setLoginCallback(() async {
      var account = await loginError!();
      await account.login();
    });
  }
}