TtsParams constructor
TtsParams({})
Rate is the speed at which the voice will speak.
rate
default to 1.
Implementation
TtsParams({
required Voice voice,
required String audioFormat,
required text,
double? rate,
}) : super(
audioFormat: audioFormat,
text: text,
voice: voice,
rate: rate,
);