toMap method
Implementation
Map<String, String?> toMap() {
return <String, String?>{
"title": title,
"artist": artist,
"genre": genre,
"trackNumber": trackNumber,
"trackTotal": trackTotal,
"discNumber": discNumber,
"discTotal": discTotal,
"lyrics": lyrics,
"comment": comment,
"album": album,
"albumArtist": albumArtist,
"year": year,
"artwork": artwork,
};
}