toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '96537bd7',
'\$name': 'DialogFilterChatlist',
'flags': flags,
'hasMyInvites': hasMyInvites,
'titleNoanimate': titleNoanimate,
'id': id,
'title': title,
'emoticon': emoticon,
'color': color,
'pinnedPeers': pinnedPeers,
'includePeers': includePeers,
};
// Finished toJson.
return returnValue;
}