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