TtsVoice class

Constructors

TtsVoice({String? voiceName, String? lang, VoiceGender? gender, bool? remote, String? extensionId, List<EventType>? eventTypes})
TtsVoice.fromJS(TtsVoice _wrapped)

Properties

eventTypes List<EventType>?
All of the callback event types that this voice is capable of sending.
getter/setter pair
extensionId String?
The ID of the extension providing this voice.
getter/setter pair
gender VoiceGender?
This voice's gender.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lang String?
The language that this voice supports, in the form language-region. Examples: 'en', 'en-US', 'en-GB', 'zh-CN'.
getter/setter pair
remote bool?
If true, the synthesis engine is a remote network resource. It may be higher latency and may incur bandwidth costs.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → TtsVoice
no setter
voiceName String?
The name of the voice.
getter/setter pair

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