OryksaAudio class

Audio returned by an ORYKSA endpoint (OryksaClient.requestAudio): the bytes and the response headers.

Constructors

OryksaAudio(Uint8List bytes, {Map<String, String> headers = const {}})
Creates an audio answer.
const

Properties

bytes → Uint8List
The audio bytes (MP3 for the AI's voice).
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Response headers, with lower-case names.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

One header by name (any case), or null.
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