bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationListToJson function

List<String> bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationListToJson(
  1. List<BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization>? bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization
)

Implementation

List<String>
    bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalizationListToJson(
        List<
                enums
                .BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization>?
            bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization) {
  if (bodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization ==
      null) {
    return [];
  }

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