TTSResponse constructor

const TTSResponse({
  1. required List<int> audioData,
  2. String? contentType,
  3. double? duration,
  4. int? sampleRate,
  5. String? voice,
  6. String? model,
  7. UsageInfo? usage,
  8. AudioAlignment? alignment,
  9. AudioAlignment? normalizedAlignment,
  10. String? requestId,
})

Implementation

const TTSResponse({
  required this.audioData,
  this.contentType,
  this.duration,
  this.sampleRate,
  this.voice,
  this.model,
  this.usage,
  this.alignment,
  this.normalizedAlignment,
  this.requestId,
});