copyWith method

RealtimeTranslationSessionAudio copyWith({
  1. Object? input = unsetCopyWithValue,
  2. Object? output = unsetCopyWithValue,
})

Returns a copy with the given fields replaced.

Pass null for any field to clear the existing value.

Implementation

RealtimeTranslationSessionAudio copyWith({
  Object? input = unsetCopyWithValue,
  Object? output = unsetCopyWithValue,
}) => RealtimeTranslationSessionAudio(
  input: identical(input, unsetCopyWithValue)
      ? this.input
      : input as RealtimeTranslationSessionAudioInput?,
  output: identical(output, unsetCopyWithValue)
      ? this.output
      : output as RealtimeTranslationSessionAudioOutput?,
);