toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xff544e65",
"flags": flags,
"autofillNewBroadcasts": autofillNewBroadcasts,
"autofillPublicGroups": autofillPublicGroups,
"autofillNewCorrespondents": autofillNewCorrespondents,
"id": id,
"title": title,
"photo": photo,
};
// Finished toJson.
return returnValue;
}