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