AudioDataSource.network constructor

AudioDataSource.network(
  1. String path, {
  2. Map<String, String>? headers,
  3. bool? cached = false,
  4. double? playSpeed,
  5. Duration? duration,
  6. double? pitch,
})

Implementation

AudioDataSource.network(
    this.path, {
      Map<String, String>? headers,
      this.cached = false,
      this.playSpeed,
      this.duration,
      this.pitch,
    })  : audioDataSourceType = AudioDataSourceType.network,
      package = null
// _networkHeaders = headers
    ;