toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'b86e380e',
'\$name': 'MessagesGetPollVotes',
'flags': flags,
'peer': peer,
'id': id,
'option': option,
'offset': offset,
'limit': limit,
};
// Finished toJson.
return returnValue;
}