copyWithWrapped method
Implementation
LongreadSummaryByIdResponse copyWithWrapped({
Wrapped<int>? id,
Wrapped<enums.LongreadType>? type,
Wrapped<String>? name,
Wrapped<int>? order,
Wrapped<enums.PublicationState>? state,
Wrapped<String?>? publishDate,
Wrapped<String?>? publishedAt,
}) {
return LongreadSummaryByIdResponse(
id: (id != null ? id.value : this.id),
type: (type != null ? type.value : this.type),
name: (name != null ? name.value : this.name),
order: (order != null ? order.value : this.order),
state: (state != null ? state.value : this.state),
publishDate: (publishDate != null ? publishDate.value : this.publishDate),
publishedAt: (publishedAt != null ? publishedAt.value : this.publishedAt),
);
}