create static method
GetTextFromWavFile
create({
- String? special_type,
- bool? is_translate,
- int? threads,
- bool? is_verbose,
- String? language,
- bool? is_special_tokens,
- bool? is_no_timestamps,
- String? audio,
- String? model,
override
return original data json
Implementation
static GetTextFromWavFile create({
String? special_type,
bool? is_translate,
int? threads,
bool? is_verbose,
String? language,
bool? is_special_tokens,
bool? is_no_timestamps,
String? audio,
String? model,
}) {
GetTextFromWavFile getTextFromWavFile = GetTextFromWavFile({
"@type": special_type,
"is_translate": is_translate,
"threads": threads,
"is_verbose": is_verbose,
"language": language,
"is_special_tokens": is_special_tokens,
"is_no_timestamps": is_no_timestamps,
"audio": audio,
"model": model,
});
return getTextFromWavFile;
}