copyWithWrapped method
RAGIndexResponseModel
copyWithWrapped({
- Wrapped<
RAGIndexStatus> ? status, - 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));
}