loadFromToken method

dynamic loadFromToken({
  1. required String token,
  2. required String key,
})

Implementation

loadFromToken({required String token, required String key}) {
  resetTo(value: decodeToken(token: token, key: key));
  if (isLogged) trigger('logged');
}