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