copyWith method

RealtimeTranslationSessionAudioOutput copyWith({
  1. Object? language = unsetCopyWithValue,
})

Returns a copy with the given fields replaced.

Pass null for language to clear the existing value.

Implementation

RealtimeTranslationSessionAudioOutput copyWith({
  Object? language = unsetCopyWithValue,
}) => RealtimeTranslationSessionAudioOutput(
  language: identical(language, unsetCopyWithValue)
      ? this.language
      : language as String?,
);