Metadata constructor

Metadata({
  1. required String title,
  2. Duration? length,
  3. List<String>? artist,
  4. String? lyrics,
  5. String? artUrl,
  6. String? album,
  7. List<String>? albumArtist,
  8. int? discNumber,
  9. int? trackNumber,
  10. List<String>? genre,
})

Implementation

Metadata(
    {required this.title,
    this.length,
    this.artist,
    this.lyrics,
    this.artUrl,
    this.album,
    this.albumArtist,
    this.discNumber,
    this.trackNumber,
    this.genre});