SocketVoiceResponse constructor

SocketVoiceResponse({
  1. required String provider,
  2. required String language,
  3. required Map<String, List<VoiceOption>> voices,
  4. String? error,
  5. String status = 'available',
  6. String? model,
  7. int schemaVersion = 1,
  8. bool truncated = false,
})

Implementation

SocketVoiceResponse({
  required this.provider,
  required this.language,
  required this.voices,
  this.error,
  this.status = 'available',
  this.model,
  this.schemaVersion = 1,
  this.truncated = false,
});