toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xd64a04a8",
"flags": flags,
"hasMyInvites": hasMyInvites,
"id": id,
"title": title,
"emoticon": emoticon,
"pinnedPeers": pinnedPeers,
"includePeers": includePeers,
};
// Finished toJson.
return returnValue;
}