bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalizationListToJson function

List<String> bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalizationListToJson(
  1. List<BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization>? bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization
)

Implementation

List<String>
    bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalizationListToJson(
        List<
                enums
                .BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization>?
            bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization) {
  if (bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization == null) {
    return [];
  }

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