Text2Speech constructor

const Text2Speech({
  1. required String key,
  2. String? webhook,
  3. String? trackId,
  4. required String prompt,
  5. String? voiceId,
  6. String? language,
  7. double? speed,
  8. String? emotion,
  9. double? temp,
})

Implementation

const Text2Speech({
  required this.key,
  this.webhook,
  this.trackId,
  required this.prompt,
  this.voiceId,
  this.language,
  this.speed,
  this.emotion,
  this.temp,
});