copyWith method
Creates a copy with replaced values.
Implementation
ChatAudioConfig copyWith({ChatAudioVoice? voice, ChatAudioFormat? format}) {
return ChatAudioConfig(
voice: voice ?? this.voice,
format: format ?? this.format,
);
}
Creates a copy with replaced values.
ChatAudioConfig copyWith({ChatAudioVoice? voice, ChatAudioFormat? format}) {
return ChatAudioConfig(
voice: voice ?? this.voice,
format: format ?? this.format,
);
}