Sample class

Sample JSON Object

Nested within Voice response Contains voice sample metadata See ElevenLabs docs for more info

Annotations
  • @JsonSerializable.new()

Constructors

Sample({required String fileName, required String hash, required String mimeType, required String sampleId, required int sizeBytes})
Sample.fromJson(Map<String, dynamic> json)
factory

Properties

fileName String
final
hash String
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleId String
final
sizeBytes int
final

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