v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatNullableListFromJson function

List<V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat>? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatNullableListFromJson(
  1. List? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat, [
  2. 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();
}