AuthState.withError constructor
AuthState.withError(
- String errorMessage
Implementation
AuthState.withError(String errorMessage)
: status = AuthStatus.error,
user = null,
error = errorMessage;