copyWith method
Implementation
CreditSessionError copyWith(
{String? errorType,
String? errorCode,
String? errorMessage,
String? displayMessage}) {
return CreditSessionError(
errorType: errorType ?? this.errorType,
errorCode: errorCode ?? this.errorCode,
errorMessage: errorMessage ?? this.errorMessage,
displayMessage: displayMessage ?? this.displayMessage);
}