copyWith method
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?,
);