Audio.file constructor

Audio.file(
  1. String path, {
  2. Metas? metas,
  3. double? playSpeed,
  4. double? pitch,
  5. DrmConfiguration? drmConfiguration,
})

Implementation

Audio.file(
  this.path, {
  Metas? metas,
  this.playSpeed,
  this.pitch,
  this.drmConfiguration,
})  : audioType = AudioType.file,
      package = null,
      _networkHeaders = null,
      cached = false,
      _metas = metas ?? Metas();