toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'poll_id': pollId.toString(),
'voter_id': voterId.toJson(),
'option_ids': optionIds,
'option_positions': optionPositions,
};