Metadata constructor

const Metadata({
  1. required String path,
  2. Duration? duration,
  3. String? title,
  4. String? album,
  5. Future<Artwork>? artwork,
  6. String? artist,
  7. String? genre,
  8. String? composer,
  9. int? trackNumber,
  10. int? trackCount,
  11. int? year,
})

Implementation

const Metadata({
  required this.path,
  this.duration,
  this.title,
  this.album,
  this.artwork,
  this.artist,
  this.genre,
  this.composer,
  this.trackNumber,
  this.trackCount,
  this.year,
});