bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationListFromJson function
List<BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization>
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationListFromJson(
- List? bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization, [
- List<
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization> ? defaultValue
Implementation
List<
enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization>
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationListFromJson(
List?
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization, [
List<
enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization>?
defaultValue,
]) {
if (bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization ==
null) {
return defaultValue ?? [];
}
return bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization
.map((e) =>
bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationFromJson(
e.toString()))
.toList();
}