toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '6f8b32aa',
'\$name': 'InputBusinessRecipients',
'flags': flags,
'existingChats': existingChats,
'newChats': newChats,
'contacts': contacts,
'nonContacts': nonContacts,
'excludeSelected': excludeSelected,
'users': users,
};
// Finished toJson.
return returnValue;
}