v1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormatFromJson function

V1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat v1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormatFromJson(
  1. Object? v1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat, [
  2. V1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat? defaultValue
])

Implementation

enums.V1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat
    v1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormatFromJson(
  Object? v1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat, [
  enums.V1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat? defaultValue,
]) {
  return enums.V1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat.values
          .firstWhereOrNull((e) =>
              e.value ==
              v1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat) ??
      defaultValue ??
      enums.V1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat
          .swaggerGeneratedUnknown;
}