PopPopAudio class abstract
Constructors
- PopPopAudio({required String defaultFilePath, bool loggingEnabled = false})
-
Creates a PopPopAudio interface.
const
Properties
- defaultFilePath → String
-
Defines the default file path.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loggingEnabled → bool
-
Sets whether the PopPopAudio implementation should
enable debug logging.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → FutureOr< void> - Dispose of and clean up any audio player resources.
-
init(
) → FutureOr< void> - Initialise any resources required by the PopPopAudio implementation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
playSoundEffect(
{String? filePath}) → FutureOr< void> - Play a game sound effect.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited