AddVoiceRequest class

Add Voice Request JSON Object

Used to make /v1/voices/add API request Requires name and files parameters Can optionally pass description and labels See ElevenLabs docs for more info

Annotations
  • @JsonSerializable.new()

Constructors

AddVoiceRequest({String? description, required List<String> files, String? labels, required String name})
AddVoiceRequest.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
final
files List<String>
final
hashCode int
The hash code for this object.
no setterinherited
labels String?
final
name String
final
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
toFormData() → FormData
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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