v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatNullableListFromJson function
List<V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat> ?
v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatNullableListFromJson(
- List? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat, [
- List<
V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat> ? defaultValue
Implementation
List<enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat>?
v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatNullableListFromJson(
List? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat, [
List<enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat>? defaultValue,
]) {
if (v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat == null) {
return defaultValue;
}
return v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat
.map((e) => v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatFromJson(
e.toString()))
.toList();
}