SynthesisInput class
Contains text input to be synthesized.
Either text
or ssml
must be supplied. Supplying both or neither returns
google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.
Constructors
- SynthesisInput.new({CustomPronunciations? customPronunciations, MultiSpeakerMarkup? multiSpeakerMarkup, String? ssml, String? text})
- SynthesisInput.fromJson(Map json_)
Properties
- customPronunciations ↔ CustomPronunciations?
-
The pronunciation customizations are applied to the input.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- multiSpeakerMarkup ↔ MultiSpeakerMarkup?
-
The multi-speaker input to be synthesized.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ssml ↔ String?
-
The SSML document to be synthesized.
getter/setter pair
- text ↔ String?
-
The raw text to be synthesized.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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