tTSOutputFormatListFromJson function
List<TTSOutputFormat>
tTSOutputFormatListFromJson(
- List? tTSOutputFormat, [
- List<
TTSOutputFormat> ? defaultValue
Implementation
List<enums.TTSOutputFormat> tTSOutputFormatListFromJson(
List? tTSOutputFormat, [
List<enums.TTSOutputFormat>? defaultValue,
]) {
if (tTSOutputFormat == null) {
return defaultValue ?? [];
}
return tTSOutputFormat
.map((e) => tTSOutputFormatFromJson(e.toString()))
.toList();
}