bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationNullableFromJson function
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization?
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationNullableFromJson(
- Object? bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization, [
- BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization? defaultValue
Implementation
enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization?
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationNullableFromJson(
Object?
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization, [
enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization?
defaultValue,
]) {
if (bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization ==
null) {
return null;
}
return enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization
.values
.firstWhereOrNull((e) =>
e.value ==
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization) ??
defaultValue;
}