toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '8d595cd6',
'\$name': 'StoryViews',
'flags': flags,
'hasViewers': hasViewers,
'viewsCount': viewsCount,
'forwardsCount': forwardsCount,
'reactions': reactions,
'reactionsCount': reactionsCount,
'recentViewers': recentViewers,
};
// Finished toJson.
return returnValue;
}