copyWith method
Returns a copy of this RealtimeAudioConfigOutput with the given fields
replaced. Pass null for any field to clear the existing value.
Implementation
RealtimeAudioConfigOutput copyWith({
Object? format = unsetCopyWithValue,
Object? voice = unsetCopyWithValue,
Object? speed = unsetCopyWithValue,
}) => RealtimeAudioConfigOutput(
format: identical(format, unsetCopyWithValue)
? this.format
: format as RealtimeAudioFormats?,
voice: identical(voice, unsetCopyWithValue) ? this.voice : voice as String?,
speed: identical(speed, unsetCopyWithValue) ? this.speed : speed as double?,
);