copyWith method
BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost
copyWith({
- String? text,
- String? modelId,
- dynamic languageCode,
- dynamic voiceSettings,
- List<
PronunciationDictionaryVersionLocatorRequestModel> ? pronunciationDictionaryLocators, - dynamic seed,
- dynamic previousText,
- dynamic nextText,
- List<
String> ? previousRequestIds, - List<
String> ? nextRequestIds, - bool? usePvcAsIvc,
- BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization? applyTextNormalization,
- bool? applyLanguageTextNormalization,
Implementation
BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost copyWith(
{String? text,
String? modelId,
dynamic languageCode,
dynamic voiceSettings,
List<PronunciationDictionaryVersionLocatorRequestModel>?
pronunciationDictionaryLocators,
dynamic seed,
dynamic previousText,
dynamic nextText,
List<String>? previousRequestIds,
List<String>? nextRequestIds,
bool? usePvcAsIvc,
enums
.BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization?
applyTextNormalization,
bool? applyLanguageTextNormalization}) {
return BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost(
text: text ?? this.text,
modelId: modelId ?? this.modelId,
languageCode: languageCode ?? this.languageCode,
voiceSettings: voiceSettings ?? this.voiceSettings,
pronunciationDictionaryLocators: pronunciationDictionaryLocators ??
this.pronunciationDictionaryLocators,
seed: seed ?? this.seed,
previousText: previousText ?? this.previousText,
nextText: nextText ?? this.nextText,
previousRequestIds: previousRequestIds ?? this.previousRequestIds,
nextRequestIds: nextRequestIds ?? this.nextRequestIds,
usePvcAsIvc: usePvcAsIvc ?? this.usePvcAsIvc,
applyTextNormalization:
applyTextNormalization ?? this.applyTextNormalization,
applyLanguageTextNormalization: applyLanguageTextNormalization ??
this.applyLanguageTextNormalization);
}