copyWithWrapped method

RAGIndexResponseModel copyWithWrapped({
  1. Wrapped<RAGIndexStatus>? status,
  2. Wrapped<double>? progressPercentage,
})

Implementation

RAGIndexResponseModel copyWithWrapped(
    {Wrapped<enums.RAGIndexStatus>? status,
    Wrapped<double>? progressPercentage}) {
  return RAGIndexResponseModel(
      status: (status != null ? status.value : this.status),
      progressPercentage: (progressPercentage != null
          ? progressPercentage.value
          : this.progressPercentage));
}