fromError static method

LoggedInUserOrError fromError(
  1. AuthError authError
)

Creates an instance of LoggedInUserOrError from an authError.

Implementation

static LoggedInUserOrError fromError(AuthError authError) {
  LoggedInUserOrError loggedInUserOrError = LoggedInUserOrError();
  loggedInUserOrError.authError = authError;
  return loggedInUserOrError;
}