playText static method
- String text, {
- AlertSeverity severity = AlertSeverity.information,
Play TTS text
Parameters
- IN text Text to be played
- IN severity The severity
Implementation
static void playText(
String text, {
AlertSeverity severity = AlertSeverity.information,
}) {
staticMethod('SoundService', 'playText', args: <String, dynamic>{
'text': text,
'severity': severity.id,
});
}