copyWith method

InputAudioTranscription copyWith({
  1. Object? delay = unsetCopyWithValue,
  2. Object? language = unsetCopyWithValue,
  3. Object? model = unsetCopyWithValue,
  4. Object? prompt = unsetCopyWithValue,
})

Returns a copy of this InputAudioTranscription with the given fields replaced. Pass null for any field to clear the existing value.

Implementation

InputAudioTranscription copyWith({
  Object? delay = unsetCopyWithValue,
  Object? language = unsetCopyWithValue,
  Object? model = unsetCopyWithValue,
  Object? prompt = unsetCopyWithValue,
}) => InputAudioTranscription(
  delay: identical(delay, unsetCopyWithValue)
      ? this.delay
      : delay as AudioTranscriptionDelay?,
  language: identical(language, unsetCopyWithValue)
      ? this.language
      : language as String?,
  model: identical(model, unsetCopyWithValue) ? this.model : model as String?,
  prompt: identical(prompt, unsetCopyWithValue)
      ? this.prompt
      : prompt as String?,
);