BackendTextToSpeechCapabilities constructor

const BackendTextToSpeechCapabilities({
  1. required bool isSupported,
  2. String? unsupportedReason,
  3. BackendTextToSpeechModel? model,
  4. int? sampleRateHz,
  5. int? channelCount,
  6. bool supportsLanguage = false,
  7. bool supportsSpeakerReference = false,
  8. bool supportsCancellation = false,
})

Creates a backend capability snapshot.

Implementation

const BackendTextToSpeechCapabilities({
  required this.isSupported,
  this.unsupportedReason,
  this.model,
  this.sampleRateHz,
  this.channelCount,
  this.supportsLanguage = false,
  this.supportsSpeakerReference = false,
  this.supportsCancellation = false,
});