playSound abstract method

Sound playSound({
  1. required AssetReference assetReference,
  2. bool keepAlive = false,
  3. bool looping = false,
  4. double pitchBend = 1.0,
})

Play a sound with the given assetReference.

Implementation

Sound playSound({
  required final AssetReference assetReference,
  final bool keepAlive = false,
  final bool looping = false,
  final double pitchBend = 1.0,
});