StreamAudioResponse class Null safety

The response for a StreamAudioSource. This API is experimental.

Annotations

Constructors

StreamAudioResponse({required int sourceLength, required int contentLength, required int offset, required Stream<List<int>> stream, required String contentType})

Properties

contentLength int
The number of bytes returned in this response.
final
contentType String
The MIME type of the audio.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
offset int
The starting byte position of the response data.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceLength int
The total number of bytes available.
final
stream Stream<List<int>>
The audio content returned by this response.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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