toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'searchMessages',
if (extra != null) '@extra': extra,
'chat_list': chat_list,
'query': query,
'offset': offset,
'limit': limit,
'filter': filter,
'min_date': min_date,
'max_date': max_date
};
}