AudioCache constructor

AudioCache({
  1. String prefix = 'assets/',
  2. AudioPlayer? fixedPlayer,
  3. bool respectSilence = false,
  4. bool duckAudio = false,
})

Implementation

AudioCache({
  this.prefix = 'assets/',
  this.fixedPlayer,
  this.respectSilence = false,
  this.duckAudio = false,
}) : assert(!kIsWeb, 'AudioCache is not available for Flutter Web.');