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