SocketVoiceResponse class

Versioned provider-authoritative catalogue (voice-catalogue-v1).

Constructors

SocketVoiceResponse({required String provider, required String language, required Map<String, List<VoiceOption>> voices, String? error, String status = 'available', String? model, int schemaVersion = 1, bool truncated = false})

Properties

error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
language → String
final
model → String?
final
provider → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaVersion → int
final
status → String
final
truncated → bool
final
voices → Map<String, List<VoiceOption>>
final

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