Audio constructor

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

Implementation

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