bodySpeechToTextV1SpeechToTextPostFileFormatListToJson function

List<String> bodySpeechToTextV1SpeechToTextPostFileFormatListToJson(
  1. List<BodySpeechToTextV1SpeechToTextPostFileFormat>? bodySpeechToTextV1SpeechToTextPostFileFormat
)

Implementation

List<String> bodySpeechToTextV1SpeechToTextPostFileFormatListToJson(
    List<enums.BodySpeechToTextV1SpeechToTextPostFileFormat>?
        bodySpeechToTextV1SpeechToTextPostFileFormat) {
  if (bodySpeechToTextV1SpeechToTextPostFileFormat == null) {
    return [];
  }

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