tTSOutputFormatNullableFromJson function
TTSOutputFormat?
tTSOutputFormatNullableFromJson(
- Object? tTSOutputFormat, [
- TTSOutputFormat? defaultValue
Implementation
enums.TTSOutputFormat? tTSOutputFormatNullableFromJson(
Object? tTSOutputFormat, [
enums.TTSOutputFormat? defaultValue,
]) {
if (tTSOutputFormat == null) {
return null;
}
return enums.TTSOutputFormat.values
.firstWhereOrNull((e) => e.value == tTSOutputFormat) ??
defaultValue;
}