copyWithWrapped method
Implementation
BaseUnauthorizedError copyWithWrapped({
Wrapped<String?>? type,
Wrapped<String>? title,
Wrapped<int>? status,
Wrapped<String>? traceId,
}) {
return BaseUnauthorizedError(
type: (type != null ? type.value : this.type),
title: (title != null ? title.value : this.title),
status: (status != null ? status.value : this.status),
traceId: (traceId != null ? traceId.value : this.traceId),
);
}