toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'audio',
if (extra != null) '@extra': extra,
'duration': duration,
'title': title,
'performer': performer,
'file_name': file_name,
'mime_type': mime_type,
'album_cover_minithumbnail': album_cover_minithumbnail,
'album_cover_thumbnail': album_cover_thumbnail,
'external_album_covers': external_album_covers,
'audio': audio
};
}