copyWith method
Implementation
BaseUnauthorizedError copyWith({
String? type,
String? title,
int? status,
String? traceId,
}) {
return BaseUnauthorizedError(
type: type ?? this.type,
title: title ?? this.title,
status: status ?? this.status,
traceId: traceId ?? this.traceId,
);
}