create static method

GetTextFromWavFile create({
  1. String? special_type,
  2. bool? is_translate,
  3. int? threads,
  4. bool? is_verbose,
  5. String? language,
  6. bool? is_special_tokens,
  7. bool? is_no_timestamps,
  8. String? audio,
  9. 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;
}