TurnDetection constructor

const TurnDetection({
  1. TurnDetectionType? type,
  2. double? threshold,
  3. int? prefixPaddingMs,
  4. int? silenceDurationMs,
  5. bool? createResponse,
})

Creates a TurnDetection.

Implementation

const TurnDetection({
  this.type,
  this.threshold,
  this.prefixPaddingMs,
  this.silenceDurationMs,
  this.createResponse,
});