loginWithToken method
Implementation
Future loginWithToken(String token, {notify = true, bool syncServerUserInfo = true}) async {
_updateToken(token);
if (notify) notifyListeners();
if (syncServerUserInfo) syncUserInfoFromServer();
}
Future loginWithToken(String token, {notify = true, bool syncServerUserInfo = true}) async {
_updateToken(token);
if (notify) notifyListeners();
if (syncServerUserInfo) syncUserInfoFromServer();
}