UriAudioSource constructor

UriAudioSource({
  1. required Uri uri,
  2. String? title,
  3. String? artist,
  4. String? album,
  5. String? artUri,
  6. String? genre,
  7. int? trackNumber,
  8. int? trackCount,
  9. int? year,
  10. Map<String, String>? headers,
})

Creates an audio source from a URI

Implementation

UriAudioSource({
  required this.uri,
  this.title,
  this.artist,
  this.album,
  this.artUri,
  this.genre,
  this.trackNumber,
  this.trackCount,
  this.year,
  this.headers,
});