copyWithWrapped method
Implementation
CreditSessionError copyWithWrapped(
{Wrapped<String?>? errorType,
Wrapped<String?>? errorCode,
Wrapped<String?>? errorMessage,
Wrapped<String?>? displayMessage}) {
return CreditSessionError(
errorType: (errorType != null ? errorType.value : this.errorType),
errorCode: (errorCode != null ? errorCode.value : this.errorCode),
errorMessage:
(errorMessage != null ? errorMessage.value : this.errorMessage),
displayMessage: (displayMessage != null
? displayMessage.value
: this.displayMessage));
}