SourceException class
Exception thrown when loading an audio source fails
- Inheritance
-
- Object
- PlayerException
- SourceException
Constructors
- SourceException.new(String code, String message, String source, [dynamic details])
- Creates a new source exception
- SourceException.fromMap(Map map)
-
Creates a source exception from a map
factory
Properties
- code → String
-
The error code
finalinherited
- details → dynamic
-
Additional error details
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The error message
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The URL or path of the source that failed to load
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts this exception to a map
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited