STTRequest.fromAudio constructor
      
      STTRequest.fromAudio(
    
- List<int> audioData, {
- String? model,
- String? language,
- String? format,
- bool includeWordTiming = false,
- bool includeConfidence = false,
- double? temperature,
- TimestampGranularity timestampGranularity = TimestampGranularity.word,
- bool diarize = false,
- int? numSpeakers,
- bool tagAudioEvents = true,
- bool webhook = false,
- String? prompt,
- String? responseFormat,
- bool enableLogging = true,
Create STT request from audio data
Implementation
factory STTRequest.fromAudio(
  List<int> audioData, {
  String? model,
  String? language,
  String? format,
  bool includeWordTiming = false,
  bool includeConfidence = false,
  double? temperature,
  TimestampGranularity timestampGranularity = TimestampGranularity.word,
  bool diarize = false,
  int? numSpeakers,
  bool tagAudioEvents = true,
  bool webhook = false,
  String? prompt,
  String? responseFormat,
  bool enableLogging = true,
}) =>
    STTRequest(
      audioData: audioData,
      model: model,
      language: language,
      format: format,
      includeWordTiming: includeWordTiming,
      includeConfidence: includeConfidence,
      temperature: temperature,
      timestampGranularity: timestampGranularity,
      diarize: diarize,
      numSpeakers: numSpeakers,
      tagAudioEvents: tagAudioEvents,
      webhook: webhook,
      prompt: prompt,
      responseFormat: responseFormat,
      enableLogging: enableLogging,
    );