v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatListToJson function

List<String> v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatListToJson(
  1. List<V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat>? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat
)

Implementation

List<String> v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatListToJson(
    List<enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat>?
        v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat) {
  if (v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat == null) {
    return [];
  }

  return v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat
      .map((e) => e.value!)
      .toList();
}