bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalizationFromJson function

BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalizationFromJson(
  1. Object? bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization, [
  2. BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization? defaultValue
])

Implementation

enums.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization
    bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalizationFromJson(
  Object? bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization, [
  enums.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization?
      defaultValue,
]) {
  return enums.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization
          .values
          .firstWhereOrNull((e) =>
              e.value ==
              bodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization) ??
      defaultValue ??
      enums.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization
          .swaggerGeneratedUnknown;
}