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