AudioDataSource.file constructor

AudioDataSource.file(
  1. String path, {
  2. double? playSpeed,
  3. double? pitch,
  4. Duration? duration,
})

Implementation

AudioDataSource.file(
    this.path, {
      this.playSpeed,
      this.pitch,this.duration,
    })  : audioDataSourceType = AudioDataSourceType.file,
      package = null,
// _networkHeaders = null,
      cached = false;