ChartItem constructor

ChartItem({
  1. required String title,
  2. required String artists,
  3. required String videoId,
  4. String? duration,
  5. String? albumArt,
  6. String? audioUrl,
  7. required String country,
  8. required String chartType,
  9. String? rank,
  10. String trend = 'neutral',
  11. String? views,
  12. bool isExplicit = false,
  13. String? playlistId,
  14. Map<String, dynamic>? album,
})

Implementation

ChartItem({
  required this.title,
  required this.artists,
  required this.videoId,
  this.duration,
  this.albumArt,
  this.audioUrl,
  required this.country,
  required this.chartType,
  this.rank,
  this.trend = 'neutral',
  this.views,
  this.isExplicit = false,
  this.playlistId,
  this.album,
});