PasswordChangeRecoverableCustomValidationError.create constructor
Alternate constructor that creates a PasswordChangeRecoverableCustomValidationError from a json.
Params:
- message: details about the error that occurred.
- cause: the exception (if any) that caused this error.
Implementation
factory PasswordChangeRecoverableCustomValidationError.create(
String message,
String? cause,
) {
return PasswordChangeRecoverableCustomValidationErrorImpl(
cause: cause,
description: message,
);
}