TranscribeRequest constructor

const TranscribeRequest({
  1. required String audio,
  2. @Default(false) bool isTranslate,
  3. @Default(6) int threads,
  4. @Default(false) bool isVerbose,
  5. @Default('id') String language,
  6. @Default(false) bool isSpecialTokens,
  7. @Default(false) bool isNoTimestamps,
  8. @Default(1) int nProcessors,
  9. @Default(false) bool splitOnWord,
  10. @Default(false) bool noFallback,
  11. @Default(false) bool diarize,
  12. @Default(false) bool speedUp,
})

Implementation

const factory TranscribeRequest({
  required String audio,
  @Default(false) bool isTranslate,
  @Default(6) int threads,
  @Default(false) bool isVerbose,
  @Default('id') String language,
  @Default(false) bool isSpecialTokens,
  @Default(false) bool isNoTimestamps,
  @Default(1) int nProcessors,
  @Default(false) bool splitOnWord,
  @Default(false) bool noFallback,
  @Default(false) bool diarize,
  @Default(false) bool speedUp,
}) = _TranscribeRequest;