copyWith method

RealtimeTranslationSessionUpdateRequest copyWith({
  1. Object? audio = unsetCopyWithValue,
})

Returns a copy with the given fields replaced.

Pass null for audio to clear the existing value.

Implementation

RealtimeTranslationSessionUpdateRequest copyWith({
  Object? audio = unsetCopyWithValue,
}) => RealtimeTranslationSessionUpdateRequest(
  audio: identical(audio, unsetCopyWithValue)
      ? this.audio
      : audio as RealtimeTranslationSessionAudio?,
);