AudioDecodeException class final

Thrown when decoding fails: the bytes are not valid audio of the expected format, or the native decoder rejected them.

ArgumentError is used instead for programming errors such as empty input; this exception is reserved for bad or corrupt data.

Implemented types

Constructors

AudioDecodeException(String message)
Creates an exception with a human-readable message.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A short description of what went wrong.
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
toString() String
A string representation of this object.
override

Operators

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