bodySpeechToTextV1SpeechToTextPostFileFormatNullableListFromJson function

List<BodySpeechToTextV1SpeechToTextPostFileFormat>? bodySpeechToTextV1SpeechToTextPostFileFormatNullableListFromJson(
  1. List? bodySpeechToTextV1SpeechToTextPostFileFormat, [
  2. List<BodySpeechToTextV1SpeechToTextPostFileFormat>? defaultValue
])

Implementation

List<enums.BodySpeechToTextV1SpeechToTextPostFileFormat>?
    bodySpeechToTextV1SpeechToTextPostFileFormatNullableListFromJson(
  List? bodySpeechToTextV1SpeechToTextPostFileFormat, [
  List<enums.BodySpeechToTextV1SpeechToTextPostFileFormat>? defaultValue,
]) {
  if (bodySpeechToTextV1SpeechToTextPostFileFormat == null) {
    return defaultValue;
  }

  return bodySpeechToTextV1SpeechToTextPostFileFormat
      .map((e) =>
          bodySpeechToTextV1SpeechToTextPostFileFormatFromJson(e.toString()))
      .toList();
}