toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'title': title,
'artists': artists,
'videoId': videoId,
'duration': duration,
'albumArt': albumArt,
'audioUrl': audioUrl,
'country': country,
'chartType': chartType,
'rank': rank,
'trend': trend,
'views': views,
'isExplicit': isExplicit,
'playlistId': playlistId,
'album': album,
};
}