OnSpeakEvent class

Constructors

OnSpeakEvent({required String utterance, required SpeakOptions options, required JSFunction sendTtsEvent})

Properties

hashCode int
The hash code for this object.
no setterinherited
options SpeakOptions
Options specified to the tts.speak() method.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTtsEvent JSFunction
Call this function with events that occur in the process of speaking the utterance.
final
utterance String
The text to speak, specified as either plain text or an SSML document. If your engine does not support SSML, you should strip out all XML markup and synthesize only the underlying text content. The value of this parameter is guaranteed to be no more than 32,768 characters. If this engine does not support speaking that many characters at a time, the utterance should be split into smaller chunks and queued internally without returning an error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited