toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'profilePhoto',
if (extra != null) '@extra': extra,
'id': id,
'small': small,
'big': big,
'minithumbnail': minithumbnail,
'has_animation': has_animation,
'is_personal': is_personal
};
}