MediaItem constructor

MediaItem({
  1. required String title,
  2. String subtitle = "",
  3. required String shazamId,
  4. required String appleMusicId,
  5. required String appleMusicUrl,
  6. String artworkUrl = "",
  7. required String artist,
  8. double matchOffset = 0,
  9. String videoUrl = "",
  10. String webUrl = "",
  11. List<String> genres = const [],
  12. String isrc = "",
})

Implementation

MediaItem(
    {required this.title,
    this.subtitle = "",
    required this.shazamId,
    required this.appleMusicId,
    required this.appleMusicUrl,
    this.artworkUrl = "",
    required this.artist,
    this.matchOffset = 0,
    this.videoUrl = "",
    this.webUrl = "",
    this.genres = const [],
    this.isrc = ""});