v1TextToSpeechVoiceIdStreamPostOutputFormatListToJson function
List<String>
v1TextToSpeechVoiceIdStreamPostOutputFormatListToJson(
- List<
V1TextToSpeechVoiceIdStreamPostOutputFormat> ? v1TextToSpeechVoiceIdStreamPostOutputFormat
Implementation
List<String> v1TextToSpeechVoiceIdStreamPostOutputFormatListToJson(
List<enums.V1TextToSpeechVoiceIdStreamPostOutputFormat>?
v1TextToSpeechVoiceIdStreamPostOutputFormat) {
if (v1TextToSpeechVoiceIdStreamPostOutputFormat == null) {
return [];
}
return v1TextToSpeechVoiceIdStreamPostOutputFormat
.map((e) => e.value!)
.toList();
}