copyWithWrapped method
SampleResponseModel
copyWithWrapped({
- Wrapped<
String> ? sampleId, - Wrapped<
String> ? fileName, - Wrapped<
String> ? mimeType, - Wrapped<
int> ? sizeBytes, - Wrapped<
String> ? hash, - Wrapped? durationSecs,
- Wrapped? removeBackgroundNoise,
- Wrapped? hasIsolatedAudio,
- Wrapped? hasIsolatedAudioPreview,
- Wrapped? speakerSeparation,
- Wrapped? trimStart,
- Wrapped? trimEnd,
Implementation
SampleResponseModel copyWithWrapped(
{Wrapped<String>? sampleId,
Wrapped<String>? fileName,
Wrapped<String>? mimeType,
Wrapped<int>? sizeBytes,
Wrapped<String>? hash,
Wrapped<dynamic>? durationSecs,
Wrapped<dynamic>? removeBackgroundNoise,
Wrapped<dynamic>? hasIsolatedAudio,
Wrapped<dynamic>? hasIsolatedAudioPreview,
Wrapped<dynamic>? speakerSeparation,
Wrapped<dynamic>? trimStart,
Wrapped<dynamic>? trimEnd}) {
return SampleResponseModel(
sampleId: (sampleId != null ? sampleId.value : this.sampleId),
fileName: (fileName != null ? fileName.value : this.fileName),
mimeType: (mimeType != null ? mimeType.value : this.mimeType),
sizeBytes: (sizeBytes != null ? sizeBytes.value : this.sizeBytes),
hash: (hash != null ? hash.value : this.hash),
durationSecs:
(durationSecs != null ? durationSecs.value : this.durationSecs),
removeBackgroundNoise: (removeBackgroundNoise != null
? removeBackgroundNoise.value
: this.removeBackgroundNoise),
hasIsolatedAudio: (hasIsolatedAudio != null
? hasIsolatedAudio.value
: this.hasIsolatedAudio),
hasIsolatedAudioPreview: (hasIsolatedAudioPreview != null
? hasIsolatedAudioPreview.value
: this.hasIsolatedAudioPreview),
speakerSeparation: (speakerSeparation != null
? speakerSeparation.value
: this.speakerSeparation),
trimStart: (trimStart != null ? trimStart.value : this.trimStart),
trimEnd: (trimEnd != null ? trimEnd.value : this.trimEnd));
}