PlaybackFile class final
The path to hand a player, and whether it is a copy owned by PlaybackAliases.
Constructors
- PlaybackFile({required String path, required String originalPath, required AliasOutcome outcome, required AudioProbe probe, Object? error})
-
Creates a result. Normally produced by PlaybackAliases.prepare.
const
Properties
- error → Object?
-
The error behind AliasOutcome.failed, for logging.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAlias → bool
-
Whether path is a copy that should be released after playback.
no setter
- originalPath → String
-
The file the caller asked about. Never modified or deleted.
final
- outcome → AliasOutcome
-
What happened.
final
- path → String
-
The path to load into the player.
final
- probe → AudioProbe
-
What the bytes are.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited