copyWithWrapped method
BodySpeechToTextV1SpeechToTextPost
copyWithWrapped({
- Wrapped<
String> ? modelId, - Wrapped? file,
- Wrapped? languageCode,
- Wrapped<
bool?> ? tagAudioEvents, - Wrapped? numSpeakers,
- Wrapped<
BodySpeechToTextV1SpeechToTextPostTimestampsGranularity?> ? timestampsGranularity, - Wrapped<
bool?> ? diarize, - Wrapped<
List< ? additionalFormats,ExportOptions> ?> - Wrapped<
BodySpeechToTextV1SpeechToTextPostFileFormat?> ? fileFormat, - Wrapped? cloudStorageUrl,
- Wrapped<
bool?> ? webhook,
Implementation
BodySpeechToTextV1SpeechToTextPost copyWithWrapped(
{Wrapped<String>? modelId,
Wrapped<dynamic>? file,
Wrapped<dynamic>? languageCode,
Wrapped<bool?>? tagAudioEvents,
Wrapped<dynamic>? numSpeakers,
Wrapped<enums.BodySpeechToTextV1SpeechToTextPostTimestampsGranularity?>?
timestampsGranularity,
Wrapped<bool?>? diarize,
Wrapped<List<ExportOptions>?>? additionalFormats,
Wrapped<enums.BodySpeechToTextV1SpeechToTextPostFileFormat?>? fileFormat,
Wrapped<dynamic>? cloudStorageUrl,
Wrapped<bool?>? webhook}) {
return BodySpeechToTextV1SpeechToTextPost(
modelId: (modelId != null ? modelId.value : this.modelId),
file: (file != null ? file.value : this.file),
languageCode:
(languageCode != null ? languageCode.value : this.languageCode),
tagAudioEvents: (tagAudioEvents != null
? tagAudioEvents.value
: this.tagAudioEvents),
numSpeakers:
(numSpeakers != null ? numSpeakers.value : this.numSpeakers),
timestampsGranularity: (timestampsGranularity != null
? timestampsGranularity.value
: this.timestampsGranularity),
diarize: (diarize != null ? diarize.value : this.diarize),
additionalFormats: (additionalFormats != null
? additionalFormats.value
: this.additionalFormats),
fileFormat: (fileFormat != null ? fileFormat.value : this.fileFormat),
cloudStorageUrl: (cloudStorageUrl != null
? cloudStorageUrl.value
: this.cloudStorageUrl),
webhook: (webhook != null ? webhook.value : this.webhook));
}