copyWithWrapped method

KnowledgeBaseDocumentChunkResponseModel copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? name,
  3. Wrapped<String>? content,
})

Implementation

KnowledgeBaseDocumentChunkResponseModel copyWithWrapped(
    {Wrapped<String>? id, Wrapped<String>? name, Wrapped<String>? content}) {
  return KnowledgeBaseDocumentChunkResponseModel(
      id: (id != null ? id.value : this.id),
      name: (name != null ? name.value : this.name),
      content: (content != null ? content.value : this.content));
}