SynthesisInput class Null safety

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 characters.

Constructors

SynthesisInput({String? ssml, String? text})
SynthesisInput.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
ssml String?
The SSML document to be synthesized. [...]
read / write
text String?
The raw text to be synthesized.
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