AuthToken constructor

AuthToken({@required UniqueId id, @required String token })

Implementation

factory AuthToken({@required UniqueId id, @required String token}) {
  assert(id != null, 'AuthToken [id] should not be null');
  assert(token != null, 'AuthToken [token] should not be null');
  return AuthToken._(id, token);
}