copyWithWrapped method

GetKnowledgeBaseListResponseModel copyWithWrapped({
  1. Wrapped<List<Object>>? documents,
  2. Wrapped? nextCursor,
  3. Wrapped<bool>? hasMore,
})

Implementation

GetKnowledgeBaseListResponseModel copyWithWrapped(
    {Wrapped<List<Object>>? documents,
    Wrapped<dynamic>? nextCursor,
    Wrapped<bool>? hasMore}) {
  return GetKnowledgeBaseListResponseModel(
      documents: (documents != null ? documents.value : this.documents),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      hasMore: (hasMore != null ? hasMore.value : this.hasMore));
}