StreamingConfig constructor

const StreamingConfig({
  1. StreamingMode mode = StreamingMode.audioOnly,
  2. String? websocketUrl,
  3. String? apiKey,
  4. String? userId,
  5. String language = 'en',
  6. bool includeSpeechProfile = true,
  7. Map<String, String>? customHeaders,
  8. Map<String, String>? customParams,
})

Implementation

const StreamingConfig({
  this.mode = StreamingMode.audioOnly,
  this.websocketUrl,
  this.apiKey,
  this.userId,
  this.language = 'en',
  this.includeSpeechProfile = true,
  this.customHeaders,
  this.customParams,
});