BackendTextToSpeechModelSupport class abstract
Optional backend probe for the text-to-speech models its runtime drives, answered before a model loads.
TextToSpeechEngine.load asks it for the models its adapter accepts and
refuses the load when the runtime drives none of them, before downloading
or loading any file.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
textToSpeechModelUnsupportedReason(
BackendTextToSpeechModel model) → Future< String?> -
Why the runtime cannot drive
model, or null when it can or cannot tell without a loaded model. Must not load a model. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited