PollOptionGetRequest constructor
PollOptionGetRequest({
- required int pollId,
- required int pollOptionId,
- required String channelUrl,
- required ChannelType channelType,
Implementation
PollOptionGetRequest({
required int pollId,
required int pollOptionId,
required String channelUrl,
required ChannelType channelType,
}) {
url = 'polls/$pollId/options/$pollOptionId';
queryParams = {
'channel_url': channelUrl,
'channel_type': channelType.urlString,
};
}