toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'photo',
if (extra != null) '@extra': extra,
'has_stickers': has_stickers,
'minithumbnail': minithumbnail,
'sizes': sizes
};
}