fromError static method
Creates an instance of LoggedInUserOrError from an authError
.
Implementation
static LoggedInUserOrError fromError(AuthError authError) {
LoggedInUserOrError loggedInUserOrError = LoggedInUserOrError();
loggedInUserOrError.authError = authError;
return loggedInUserOrError;
}