copyWithWrapped method

BodySpeechToTextV1SpeechToTextPost copyWithWrapped({
  1. Wrapped<String>? modelId,
  2. Wrapped? file,
  3. Wrapped? languageCode,
  4. Wrapped<bool?>? tagAudioEvents,
  5. Wrapped? numSpeakers,
  6. Wrapped<BodySpeechToTextV1SpeechToTextPostTimestampsGranularity?>? timestampsGranularity,
  7. Wrapped<bool?>? diarize,
  8. Wrapped<List<ExportOptions>?>? additionalFormats,
  9. Wrapped<BodySpeechToTextV1SpeechToTextPostFileFormat?>? fileFormat,
  10. Wrapped? cloudStorageUrl,
  11. 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));
}