toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'url': url,
'audio': audio?.toJson(),
'thumbnail': thumbnail?.toJson(),
'duration': duration,
'width': width,
'height': height,
'@type': constructor,
};