toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'url': url,
'title': title,
'description': description,
'photo': photo?.toJson(),
'author': author,
'publish_date': publishDate,
'@type': constructor,
};