VoiceSelectionParams class Null safety

Description of which voice to use for a synthesis request.

Constructors

VoiceSelectionParams({String? languageCode, String? name, String? ssmlGender})
VoiceSelectionParams.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
languageCode String?
The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. "en-US". [...]
read / write
name String?
The name of the voice. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
ssmlGender String?
The preferred gender of the voice. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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