fromUser static method
Creates an instance of LoggedInUserOrError from a loggedInUser
.
Implementation
static LoggedInUserOrError fromUser(LoggedInUser loggedInUser) {
LoggedInUserOrError loggedInUserOrError = LoggedInUserOrError();
loggedInUserOrError.loggedInUser = loggedInUser;
return loggedInUserOrError;
}