v1SpeechToSpeechVoiceIdPostOutputFormatListFromJson function
List<V1SpeechToSpeechVoiceIdPostOutputFormat>
v1SpeechToSpeechVoiceIdPostOutputFormatListFromJson(
- List? v1SpeechToSpeechVoiceIdPostOutputFormat, [
- List<
V1SpeechToSpeechVoiceIdPostOutputFormat> ? defaultValue
Implementation
List<enums.V1SpeechToSpeechVoiceIdPostOutputFormat>
v1SpeechToSpeechVoiceIdPostOutputFormatListFromJson(
List? v1SpeechToSpeechVoiceIdPostOutputFormat, [
List<enums.V1SpeechToSpeechVoiceIdPostOutputFormat>? defaultValue,
]) {
if (v1SpeechToSpeechVoiceIdPostOutputFormat == null) {
return defaultValue ?? [];
}
return v1SpeechToSpeechVoiceIdPostOutputFormat
.map((e) => v1SpeechToSpeechVoiceIdPostOutputFormatFromJson(e.toString()))
.toList();
}