toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'getStoryViewers',
if (extra != null) '@extra': extra,
'story_id': story_id,
'query': query,
'only_contacts': only_contacts,
'prefer_with_reaction': prefer_with_reaction,
'offset': offset,
'limit': limit
};
}