SearchResult constructor

SearchResult({
  1. required String title,
  2. required String artists,
  3. required String videoId,
  4. String? duration,
  5. String? year,
  6. String? albumArt,
  7. String? audioUrl,
})

Implementation

SearchResult({
  required this.title,
  required this.artists,
  required this.videoId,
  this.duration,
  this.year,
  this.albumArt,
  this.audioUrl,
});