LiveMusicServerMessage class
Response message received from the Live Music WebSocket server.
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- LiveMusicServerMessage({LiveMusicServerSetupComplete? setupComplete, LiveMusicServerContent? serverContent, LiveMusicFilteredPrompt? filteredPrompt})
-
LiveMusicServerMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioBytes → Uint8List?
-
Returns raw audio bytes of the first audio chunk, if present.
no setter
- audioChunk → AudioChunk?
-
Returns the first audio chunk in serverContent, if present.
no setter
- filteredPrompt → LiveMusicFilteredPrompt?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverContent → LiveMusicServerContent?
-
final
- setupComplete → LiveMusicServerSetupComplete?
-
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