loginWithToken method

Future loginWithToken(
  1. String token, {
  2. dynamic notify = true,
  3. bool syncServerUserInfo = true,
})

Implementation

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