toModel method
Constructs the new Credentials from this SignIn$Mutation$CreateSession$CreateSessionOk.
Implementation
Credentials toModel() {
return Credentials(
accessToken.toModel(),
refreshToken.toModel(),
session.toModel(),
user.id,
);
}