copyWithWrapped method
FineTuningResponseModel
copyWithWrapped({
- Wrapped<
bool> ? isAllowedToFineTune, - Wrapped<
Map< ? state,String, dynamic> > - Wrapped<
List< ? verificationFailures,String> > - Wrapped<
int> ? verificationAttemptsCount, - Wrapped<
bool> ? manualVerificationRequested, - Wrapped? language,
- Wrapped? progress,
- Wrapped? message,
- Wrapped? datasetDurationSeconds,
- Wrapped? verificationAttempts,
- Wrapped? sliceIds,
- Wrapped? manualVerification,
- Wrapped? maxVerificationAttempts,
- Wrapped? nextMaxVerificationAttemptsResetUnixMs,
Implementation
FineTuningResponseModel copyWithWrapped(
{Wrapped<bool>? isAllowedToFineTune,
Wrapped<Map<String, dynamic>>? state,
Wrapped<List<String>>? verificationFailures,
Wrapped<int>? verificationAttemptsCount,
Wrapped<bool>? manualVerificationRequested,
Wrapped<dynamic>? language,
Wrapped<dynamic>? progress,
Wrapped<dynamic>? message,
Wrapped<dynamic>? datasetDurationSeconds,
Wrapped<dynamic>? verificationAttempts,
Wrapped<dynamic>? sliceIds,
Wrapped<dynamic>? manualVerification,
Wrapped<dynamic>? maxVerificationAttempts,
Wrapped<dynamic>? nextMaxVerificationAttemptsResetUnixMs}) {
return FineTuningResponseModel(
isAllowedToFineTune: (isAllowedToFineTune != null
? isAllowedToFineTune.value
: this.isAllowedToFineTune),
state: (state != null ? state.value : this.state),
verificationFailures: (verificationFailures != null
? verificationFailures.value
: this.verificationFailures),
verificationAttemptsCount: (verificationAttemptsCount != null
? verificationAttemptsCount.value
: this.verificationAttemptsCount),
manualVerificationRequested: (manualVerificationRequested != null
? manualVerificationRequested.value
: this.manualVerificationRequested),
language: (language != null ? language.value : this.language),
progress: (progress != null ? progress.value : this.progress),
message: (message != null ? message.value : this.message),
datasetDurationSeconds: (datasetDurationSeconds != null
? datasetDurationSeconds.value
: this.datasetDurationSeconds),
verificationAttempts: (verificationAttempts != null
? verificationAttempts.value
: this.verificationAttempts),
sliceIds: (sliceIds != null ? sliceIds.value : this.sliceIds),
manualVerification: (manualVerification != null
? manualVerification.value
: this.manualVerification),
maxVerificationAttempts: (maxVerificationAttempts != null
? maxVerificationAttempts.value
: this.maxVerificationAttempts),
nextMaxVerificationAttemptsResetUnixMs:
(nextMaxVerificationAttemptsResetUnixMs != null
? nextMaxVerificationAttemptsResetUnixMs.value
: this.nextMaxVerificationAttemptsResetUnixMs));
}