copyWith method
Implementation
BaseNotFoundError copyWith({
String? title,
int? status,
String? detail,
String? instance,
int? entityId,
String? traceId,
}) {
return BaseNotFoundError(
title: title ?? this.title,
status: status ?? this.status,
detail: detail ?? this.detail,
instance: instance ?? this.instance,
entityId: entityId ?? this.entityId,
traceId: traceId ?? this.traceId,
);
}